Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
deshanxiao committed Dec 28, 2023
1 parent 3575fd7 commit fdc014b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* JNI wrapper for brotli encoder.
*/
@Upstream
class EncoderJNI {
public class EncoderJNI {
private static native ByteBuffer nativeCreate(long[] context);
private static native void nativePush(long[] context, int length);
private static native ByteBuffer nativePull(long[] context);
Expand Down Expand Up @@ -73,7 +73,7 @@ static PreparedDictionary prepareDictionary(ByteBuffer dictionary, int sharedDic
return new PreparedDictionaryImpl(dictionaryData, dictionary);
}

static class Wrapper {
public static class Wrapper {
protected final long[] context = new long[5];
private final ByteBuffer inputBuffer;
private boolean fresh = true;
Expand Down

0 comments on commit fdc014b

Please sign in to comment.