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

Method pull

java/org/brotli/wrapper/enc/EncoderJNI.java:146–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 }
145
146 ByteBuffer pull() {
147 if (context[0] == 0) {
148 throw new IllegalStateException("brotli encoder is already destroyed");
149 }
150 if (!isSuccess() || !hasMoreOutput()) {
151 throw new IllegalStateException("pulling while data is not ready");
152 }
153 fresh = false;
154 return nativePull(context);
155 }
156
157 /**
158 * Releases native resources.

Callers 2

compressMethod · 0.95
encodeMethod · 0.45

Calls 3

isSuccessMethod · 0.95
hasMoreOutputMethod · 0.95
nativePullMethod · 0.45

Tested by

no test coverage detected