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

Method remain

zstd/bitreader.go:115–117  ·  view source on GitHub ↗

remain returns the number of bits remaining.

()

Source from the content-addressed store, hash-verified

113
114// remain returns the number of bits remaining.
115func (b *bitReader) remain() uint {
116 return 8*uint(b.cursor) + 64 - uint(b.bitsRead)
117}
118
119// close the bitstream and returns an error if out-of-buffer reads occurred.
120func (b *bitReader) close() error {

Callers 5

closeMethod · 0.95
decodeMethod · 0.45
readNCountMethod · 0.45
decodeSyncMethod · 0.45
benchmark_seqdec_decodeFunction · 0.45

Calls

no outgoing calls

Tested by 1

benchmark_seqdec_decodeFunction · 0.36