Uses of Class
org.brotli.dec.State
-
Uses of State in org.brotli.dec
Fields in org.brotli.dec declared as StateMethods in org.brotli.dec with parameters of type StateModifier and TypeMethodDescription(package private) static voidBitReader.assertAccumulatorHealthy(State s) (package private) static intDecode.attachDictionaryChunk(State s, byte[] data) (package private) static voidBitReader.bytesToNibbles(State s, int byteLen) Translates bytes to halves (int/short).private static intDecode.calculateDistanceAlphabetLimit(State s, int maxDistance, int npostfix, int ndirect) private static voidDecode.calculateDistanceLut(State s, int alphabetSizeLimit) private static intDecode.calculateFence(State s) private static intDecode.checkDupes(State s, int[] symbols, int length) (package private) static intBitReader.checkHealth(State s, int endOfStream) (package private) static int(package private) static voidUtils.closeInput(State s) private static intDecode.copyFromCompoundDictionary(State s, int fence) (package private) static intBitReader.copyRawBytes(State s, byte[] data, int offset, int length) private static intDecode.copyUncompressedData(State s) private static intDecode.decodeBlockTypeAndLength(State s, int treeType, int numBlockTypes) private static voidDecode.decodeCommandBlockSwitch(State s) private static intDecode.decodeContextMap(int contextMapSize, byte[] contextMap, State s) private static voidDecode.decodeDistanceBlockSwitch(State s) private static intDecode.decodeHuffmanTreeGroup(int alphabetSizeMax, int alphabetSizeLimit, int n, State s, int[] group) private static voidDecode.decodeLiteralBlockSwitch(State s) private static intDecode.decodeMetaBlockLength(State s) private static intDecode.decodeVarLenUnsignedByte(State s) Decodes a number in the range [0..255], by reading 1 - 11 bits.private static intDecode.decodeWindowBits(State s) Reads brotli stream header and parses "window bits".(package private) static intDecode.decompress(State s) Actual decompress implementation.(package private) static voidBitReader.doFillBitWindow(State s) private static intDecode.doUseDictionary(State s, int fence) (package private) static intDecode.enableEagerOutput(State s) Switch decoder to "eager" mode.(package private) static intDecode.enableLargeWindow(State s) (package private) static voidBitReader.fillBitWindow(State s) (package private) static intBitReader.halfAvailable(State s) (package private) static intBitReader.initBitReader(State s) private static voidDecode.initializeCompoundDictionary(State s) private static intDecode.initializeCompoundDictionaryCopy(State s, int address, int length) (package private) static intAssociate input with decoder state.(package private) static intBitReader.jumpToByteBoundary(State s) (package private) static intprivate static voidDecode.maybeReallocateRingBuffer(State s) (package private) static intprivate static int(package private) static intprivate static intDecode.readBlockLength(int[] tableGroup, int tableIdx, State s) private static intDecode.readComplexHuffmanCode(int alphabetSizeLimit, int skip, int[] tableGroup, int tableIdx, State s) (package private) static intBitReader.readFewBits(State s, int n) Fetches bits from accumulator.private static intDecode.readHuffmanCode(int alphabetSizeMax, int alphabetSizeLimit, int[] tableGroup, int tableIdx, State s) Decodes Huffman table from bit-stream.private static intDecode.readHuffmanCodeLengths(int[] codeLengthCodeLengths, int numSymbols, int[] codeLengths, State s) (package private) static intprivate static intBitReader.readManyBits(State s, int n) private static intDecode.readMetablockHuffmanCodesAndContextMaps(State s) private static intDecode.readMetablockPartition(State s, int treeType, int numBlockTypes) (package private) static intBitReader.readMoreInput(State s) Fills up the input buffer.private static intDecode.readNextMetablockHeader(State s) private static intDecode.readSimpleHuffmanCode(int alphabetSizeMax, int alphabetSizeLimit, int[] tableGroup, int tableIdx, State s) Reads up to 4 symbols directly and applies predefined histograms.private static intDecode.readSymbol(int[] tableGroup, int tableIdx, State s) Decodes the next Huffman code from bit-stream.(package private) static intprivate static intDecode.writeRingBuffer(State s)