// newBlockWriter creates a new block writer writes the header out.

newBlockWriter creates a new block writer writes the header out.
// newBlockWriter creates a new block writer writes the header out .
func (w *Writer) newBlockWriter() error {
	var err error
	w.bw, err = w.WriterConfig.newBlockWriter(w.xz, w.newHash())
	if err != nil {
		return err
	}
	if err = w.bw.writeHeader(w.xz); err != nil {
		return err
	}
	return nil
}
func ( w * Writer ) newBlockWriter ( ) error { var err error w . bw , err = w . WriterConfig . newBlockWriter ( w . xz , w . newHash ( ) ) if err != nil { return err } if err = w . bw . writeHeader ( w . xz ) ; err != nil { return err } return nil }
newBlockWriter creates a new block writer writes the header out.
newBlockWriter creates a new block writer writes the header out .