// written returns the number of bytes written to the current chunk
written returns the number of bytes written to the current chunk
// written returns the number of bytes written to the current chunk
func (w *Writer2) written() int {
	if w.encoder == nil {
		return 0
	}
	return int(w.encoder.Compressed()) + w.encoder.dict.Buffered()
}
func ( w * Writer2 ) written ( ) int { if w . encoder == nil { return 0 } return int ( w . encoder . Compressed ( ) ) + w . encoder . dict . Buffered ( ) }
written returns the number of bytes written to the current chunk
written returns the number of bytes written to the current chunk