Class EncoderJNI.Wrapper

java.lang.Object
org.brotli.wrapper.enc.EncoderJNI.Wrapper
Enclosing class:
EncoderJNI

static class EncoderJNI.Wrapper extends Object
  • Field Details

    • context

      protected final long[] context
    • inputBuffer

      private final ByteBuffer inputBuffer
    • fresh

      private boolean fresh
  • Constructor Details

  • Method Details

    • attachDictionary

      boolean attachDictionary(ByteBuffer dictionary)
    • push

      void push(EncoderJNI.Operation op, int length)
    • isSuccess

      boolean isSuccess()
    • hasMoreOutput

      boolean hasMoreOutput()
    • hasRemainingInput

      boolean hasRemainingInput()
    • isFinished

      boolean isFinished()
    • getInputBuffer

      ByteBuffer getInputBuffer()
    • pull

      ByteBuffer pull()
    • destroy

      void destroy()
      Releases native resources.
    • finalize

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