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

Method fillFastStart

zstd/bitreader.go:79–83  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

77
78// fillFastStart() assumes the bitreader is empty and there is at least 8 bytes to read.
79func (b *bitReader) fillFastStart() {
80 b.cursor -= 8
81 b.value = le.Load64(b.in, b.cursor)
82 b.bitsRead = 0
83}
84
85// fill() will make sure at least 32 bits are available.
86func (b *bitReader) fill() {

Callers 1

initMethod · 0.95

Calls 1

Load64Function · 0.92

Tested by

no test coverage detected