MCPcopy Index your code
hub / github.com/google/brotli / read

Method read

java/org/brotli/wrapper/dec/EagerStreamTest.java:29–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 int index;
28
29 @Override
30 public int read() {
31 if (index < data.length) {
32 log.append("<").append(index);
33 return data[index++];
34 } else {
35 log.append("<#");
36 return -1;
37 }
38 }
39
40 @Override
41 public int read(byte[] b) throws IOException {

Callers 3

unzipMethod · 0.45
setDictionaryDataMethod · 0.45
decodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected