Class DecoderJNI


  • public class DecoderJNI
    extends java.lang.Object
    JNI wrapper for brotli decoder.
    • Constructor Summary

      Constructors 
      Constructor Description
      DecoderJNI()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean nativeAttachDictionary​(long[] context, java.nio.ByteBuffer dictionary)  
      private static java.nio.ByteBuffer nativeCreate​(long[] context)  
      private static void nativeDestroy​(long[] context)  
      private static java.nio.ByteBuffer nativePull​(long[] context)  
      private static void nativePush​(long[] context, int length)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecoderJNI

        public DecoderJNI()
    • Method Detail

      • nativeCreate

        private static java.nio.ByteBuffer nativeCreate​(long[] context)
      • nativePush

        private static void nativePush​(long[] context,
                                       int length)
      • nativePull

        private static java.nio.ByteBuffer nativePull​(long[] context)
      • nativeDestroy

        private static void nativeDestroy​(long[] context)
      • nativeAttachDictionary

        private static boolean nativeAttachDictionary​(long[] context,
                                                      java.nio.ByteBuffer dictionary)