// dictLen returns the actual length of the dictionary.
dictLen returns the actual length of the dictionary.
// dictLen returns the actual length of the dictionary .
func (d *decoderDict) dictLen() int {
	capacity := d.buf.Cap()
	if d.head >= int64(capacity) {
		return capacity
	}
	return int(d.head)
}
func ( d * decoderDict ) dictLen ( ) int { capacity := d . buf . Cap ( ) if d . head >= int64 ( capacity ) { return capacity } return int ( d . head ) }
dictLen returns the actual length of the dictionary.
dictLen returns the actual length of the dictionary .