MCPcopy Index your code
hub / github.com/klauspost/compress / finished

Method finished

zstd/bitreader.go:105–107  ·  view source on GitHub ↗

finished returns true if all bits have been read from the bit stream.

()

Source from the content-addressed store, hash-verified

103
104// finished returns true if all bits have been read from the bit stream.
105func (b *bitReader) finished() bool {
106 return b.cursor == 0 && b.bitsRead >= 64
107}
108
109// overread returns true if more bits have been requested than is on the stream.
110func (b *bitReader) overread() bool {

Callers 1

closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected