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

Method fillFastStart

huff0/bitreader.go:184–188  ·  view source on GitHub ↗

fillFastStart() assumes the bitReaderShifted is empty and there is at least 8 bytes to read.

()

Source from the content-addressed store, hash-verified

182
183// fillFastStart() assumes the bitReaderShifted is empty and there is at least 8 bytes to read.
184func (b *bitReaderShifted) fillFastStart() {
185 b.value = le.Load64(b.in, b.off-8)
186 b.bitsRead = 0
187 b.off -= 8
188}
189
190// fill() will make sure at least 32 bits are available.
191func (b *bitReaderShifted) fill() {

Callers 1

initMethod · 0.95

Calls 1

Load64Function · 0.92

Tested by

no test coverage detected