Class State

java.lang.Object
com.itextpdf.io.codec.brotli.dec.State

final class State extends Object
  • Field Details

    • runningState

      int runningState
    • nextRunningState

      int nextRunningState
    • br

      final BitReader br
    • ringBuffer

      byte[] ringBuffer
    • blockTypeTrees

      final int[] blockTypeTrees
    • blockLenTrees

      final int[] blockLenTrees
    • metaBlockLength

      int metaBlockLength
    • inputEnd

      boolean inputEnd
    • isUncompressed

      boolean isUncompressed
    • isMetadata

      boolean isMetadata
    • hGroup0

      final HuffmanTreeGroup hGroup0
    • hGroup1

      final HuffmanTreeGroup hGroup1
    • hGroup2

      final HuffmanTreeGroup hGroup2
    • blockLength

      final int[] blockLength
    • numBlockTypes

      final int[] numBlockTypes
    • blockTypeRb

      final int[] blockTypeRb
    • distRb

      final int[] distRb
    • pos

      int pos
    • maxDistance

      int maxDistance
    • distRbIdx

      int distRbIdx
    • trivialLiteralContext

      boolean trivialLiteralContext
    • literalTreeIndex

      int literalTreeIndex
    • literalTree

      int literalTree
    • j

      int j
    • insertLength

      int insertLength
    • contextModes

      byte[] contextModes
    • contextMap

      byte[] contextMap
    • contextMapSlice

      int contextMapSlice
    • distContextMapSlice

      int distContextMapSlice
    • contextLookupOffset1

      int contextLookupOffset1
    • contextLookupOffset2

      int contextLookupOffset2
    • treeCommandOffset

      int treeCommandOffset
    • distanceCode

      int distanceCode
    • distContextMap

      byte[] distContextMap
    • numDirectDistanceCodes

      int numDirectDistanceCodes
    • distancePostfixMask

      int distancePostfixMask
    • distancePostfixBits

      int distancePostfixBits
    • distance

      int distance
    • copyLength

      int copyLength
    • copyDst

      int copyDst
    • maxBackwardDistance

      int maxBackwardDistance
    • maxRingBufferSize

      int maxRingBufferSize
    • ringBufferSize

      int ringBufferSize
    • expectedTotalSize

      long expectedTotalSize
    • customDictionary

      byte[] customDictionary
    • bytesToIgnore

      int bytesToIgnore
    • outputOffset

      int outputOffset
    • outputLength

      int outputLength
    • outputUsed

      int outputUsed
    • bytesWritten

      int bytesWritten
    • bytesToWrite

      int bytesToWrite
    • output

      byte[] output
  • Constructor Details

    • State

      State()
  • Method Details

    • decodeWindowBits

      private static int decodeWindowBits(BitReader br)
    • setInput

      static void setInput(State state, InputStream input)
      Associate input with decoder state.
      Parameters:
      state - uninitialized state without associated input
      input - compressed data source
    • close

      static void close(State state) throws IOException
      Throws:
      IOException