// closeBlockWriter closes a block writer and records the sizes in the
// index.
closeBlockWriter closes a block writer and records the sizes in the
index.
// closeBlockWriter closes a block writer and records the sizes in the // index .
func (w *Writer) closeBlockWriter() error {
	var err error
	if err = w.bw.Close(); err != nil {
		return err
	}
	w.index = append(w.index, w.bw.record())
	return nil
}
func ( w * Writer ) closeBlockWriter ( ) error { var err error if err = w . bw . Close ( ) ; err != nil { return err } w . index = append ( w . index , w . bw . record ( ) ) return nil }
closeBlockWriter closes a block writer and records the sizes in the
index.
closeBlockWriter closes a block writer and records the sizes in the index .