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

Method destroy

java/org/brotli/wrapper/enc/EncoderJNI.java:160–166  ·  view source on GitHub ↗

Releases native resources.

()

Source from the content-addressed store, hash-verified

158 * Releases native resources.
159 */
160 void destroy() {
161 if (context[0] == 0) {
162 throw new IllegalStateException("brotli encoder is already destroyed");
163 }
164 nativeDestroy(context);
165 context[0] = 0;
166 }
167 }
168}

Callers 2

compressMethod · 0.95
closeMethod · 0.45

Calls 1

nativeDestroyMethod · 0.45

Tested by

no test coverage detected