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

Method writeMark

flate/dict_decoder.go:87–89  ·  view source on GitHub ↗

writeMark advances the writer pointer by cnt. This invariant must be kept: 0 <= cnt <= availWrite()

(cnt int)

Source from the content-addressed store, hash-verified

85//
86// This invariant must be kept: 0 <= cnt <= availWrite()
87func (dd *dictDecoder) writeMark(cnt int) {
88 dd.wrPos += cnt
89}
90
91// writeByte writes a single byte to the dictionary.
92//

Callers 2

TestDictDecoderFunction · 0.95
copyDataMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestDictDecoderFunction · 0.76