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

Method pull

java/org/brotli/wrapper/dec/DecoderJNI.java:102–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 public ByteBuffer pull() {
103 if (context[0] == 0) {
104 throw new IllegalStateException("brotli decoder is already destroyed");
105 }
106 if (lastStatus != Status.NEEDS_MORE_OUTPUT && !hasOutput()) {
107 throw new IllegalStateException("pulling output from decoder in " + lastStatus + " state");
108 }
109 fresh = false;
110 ByteBuffer result = nativePull(context);
111 parseStatus();
112 return result;
113 }
114
115 /**
116 * Releases native resources.

Callers 2

decompressMethod · 0.95
decodeMethod · 0.45

Calls 3

hasOutputMethod · 0.95
parseStatusMethod · 0.95
nativePullMethod · 0.45

Tested by

no test coverage detected