MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / readBits

Method readBits

src/main/java/org/htmlunit/util/brotli/BitReader.java:161–166  ·  view source on GitHub ↗
(State s, int n)

Source from the content-addressed store, hash-verified

159 }
160
161 static int readBits(State s, int n) {
162 if (HALF_BITNESS >= 24) {
163 return readFewBits(s, n);
164 }
165 return (n <= 16) ? readFewBits(s, n) : readManyBits(s, n);
166 }
167
168 private static int readManyBits(State s, int n) {
169 final int low = readFewBits(s, 16);

Callers 2

readBlockLengthMethod · 0.95
decompressMethod · 0.95

Calls 2

readFewBitsMethod · 0.95
readManyBitsMethod · 0.95

Tested by

no test coverage detected