MCPcopy
hub / github.com/klauspost/compress / availWrite

Method availWrite

flate/dict_decoder.go:73–75  ·  view source on GitHub ↗

availWrite reports the available amount of output buffer space.

()

Source from the content-addressed store, hash-verified

71
72// availWrite reports the available amount of output buffer space.
73func (dd *dictDecoder) availWrite() int {
74 return len(dd.hist) - dd.wrPos
75}
76
77// writeSlice returns a slice of the available buffer to write data to.
78//

Callers 7

TestDictDecoderFunction · 0.95
huffmanBytesBufferMethod · 0.80
huffmanBytesReaderMethod · 0.80
huffmanBufioReaderMethod · 0.80
huffmanStringsReaderMethod · 0.80
huffmanGenericReaderMethod · 0.80
copyDataMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestDictDecoderFunction · 0.76