MCPcopy
hub / github.com/google/brotli / peekBits

Method peekBits

java/org/brotli/dec/BitReader.java:142–148  ·  view source on GitHub ↗
(State s)

Source from the content-addressed store, hash-verified

140 }
141
142 static int peekBits(State s) {
143 if (BITNESS == 64) {
144 return (int) Utils.shr64(s.accumulator64, s.bitOffset);
145 } else {
146 return Utils.shr32(s.accumulator32, s.bitOffset);
147 }
148 }
149
150 /**
151 * Fetches bits from accumulator.

Callers 5

readFewBitsMethod · 0.95
copyRawBytesMethod · 0.95
readSymbolMethod · 0.95

Calls 2

shr64Method · 0.95
shr32Method · 0.95

Tested by

no test coverage detected