// newDecoder creates a new decoder instance. The parameter size provides
// the expected byte size of the decompressed data. If the size is
// unknown use a negative value. In that case the decoder will look for
// a terminating end-of-stream marker.
newDecoder creates a new decoder instance. The parameter size provides
the expected byte size of the decompressed data. If the size is
unknown use a negative value. In that case the decoder will look for
a terminating end-of-stream marker.
// newDecoder creates a new decoder instance . The parameter size provides // the expected byte size of the decompressed data . If the size is // unknown use a negative value . In that case the decoder will look for // a terminating end - of - stream marker .
func newDecoder(br io.ByteReader, state *state, dict *decoderDict, size int64) (d *decoder, err error) {
	rd, err := newRangeDecoder(br)
	if err != nil {
		return nil, err
	}
	d = &decoder{
		State: state,
		Dict:  dict,
		rd:    rd,
		size:  size,
		start: dict.pos(),
	}
	return d, nil
}
func newDecoder ( br io . ByteReader , state * state , dict * decoderDict , size int64 ) ( d * decoder , err error ) { rd , err := newRangeDecoder ( br ) if err != nil { return nil , err } d = & decoder { State : state , Dict : dict , rd : rd , size : size , start : dict . pos ( ) , } return d , nil }
newDecoder creates a new decoder instance.
newDecoder creates a new decoder instance .