Class DecoderJNI.Wrapper

  • Enclosing class:
    DecoderJNI

    public static class DecoderJNI.Wrapper
    extends java.lang.Object
    • Field Detail

      • context

        private final long[] context
      • inputBuffer

        private final java.nio.ByteBuffer inputBuffer
      • fresh

        private boolean fresh
    • Constructor Detail

      • Wrapper

        public Wrapper​(int inputBufferSize)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • attachDictionary

        public boolean attachDictionary​(java.nio.ByteBuffer dictionary)
      • push

        public void push​(int length)
      • parseStatus

        private void parseStatus()
      • getInputBuffer

        public java.nio.ByteBuffer getInputBuffer()
      • hasOutput

        public boolean hasOutput()
      • pull

        public java.nio.ByteBuffer pull()
      • destroy

        public void destroy()
        Releases native resources.
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable