Package org.brotli.dec
Class DictionaryData
- java.lang.Object
-
- org.brotli.dec.DictionaryData
-
final class DictionaryData extends java.lang.Object
Built-in dictionary data. When this class is loaded, it sets its data:Dictionary#setData(ByteBuffer)
.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DATA0
private static java.lang.String
DATA1
private static java.lang.String
SIZE_BITS_DATA
Encoded sizeBits array.private static java.lang.String
SKIP_FLIP
Encoded interval lengths, where 7-th bit is constant.
-
Constructor Summary
Constructors Constructor Description DictionaryData()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
unpackDictionaryData(java.nio.ByteBuffer dictionary, java.lang.String data0, java.lang.String data1, java.lang.String skipFlip, int[] sizeBits, java.lang.String sizeBitsData)
-
-
-
Field Detail
-
DATA0
private static final java.lang.String DATA0
- See Also:
- Constant Field Values
-
DATA1
private static final java.lang.String DATA1
- See Also:
- Constant Field Values
-
SKIP_FLIP
private static final java.lang.String 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:
- Constant Field Values
-
SIZE_BITS_DATA
private static final java.lang.String 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:
- Constant Field Values
-
-