Package org.brotli.dec
Class DictionaryData
java.lang.Object
org.brotli.dec.DictionaryData
Built-in dictionary data.
When this class is loaded, it sets its data:
.
invalid reference
Dictionary#setData(ByteBuffer)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
unpackDictionaryData
(ByteBuffer dictionary, String data0, String data1, String skipFlip, int[] sizeBits, String sizeBitsData)
-
Field Details
-
DATA0
- See Also:
-
DATA1
- See Also:
-
SKIP_FLIP
Encoded interval lengths, where 7-th bit is constant. To avoid multibyte UTF-8 runes, DATAx literals contain only 7-bit characters. 7-th bit of original data is well compressed with RLE. As there are only 2 alterating values, only the lengths of the series are stored.- See Also:
-
SIZE_BITS_DATA
Encoded sizeBits array. Values: 0, 0, 0, 0, 10, 10, 11, 11, 10, 10, 10, 10, 10, 9, 9, 8, 7, 7, 8, 7, 7, 6, 6, 5, 5- See Also:
-
-
Constructor Details
-
DictionaryData
DictionaryData()
-
-
Method Details
-
unpackDictionaryData
private static void unpackDictionaryData(ByteBuffer dictionary, String data0, String data1, String skipFlip, int[] sizeBits, String sizeBitsData)
-