Class DecoderJNI.Wrapper

java.lang.Object
org.brotli.wrapper.dec.DecoderJNI.Wrapper
Enclosing class:
DecoderJNI

public static class DecoderJNI.Wrapper extends Object
  • Field Details

    • context

      private final long[] context
    • inputBuffer

      private final ByteBuffer inputBuffer
    • lastStatus

      private DecoderJNI.Status lastStatus
    • fresh

      private boolean fresh
  • Constructor Details

  • Method Details

    • attachDictionary

      public boolean attachDictionary(ByteBuffer dictionary)
    • push

      public void push(int length)
    • parseStatus

      private void parseStatus()
    • getStatus

      public DecoderJNI.Status getStatus()
    • getInputBuffer

      public ByteBuffer getInputBuffer()
    • hasOutput

      public boolean hasOutput()
    • pull

      public ByteBuffer pull()
    • destroy

      public void destroy()
      Releases native resources.
    • finalize

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