| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| private static final Object | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if check was successful else falsedigest byte array digest)Checks if the given checksum matches MD5 checksum of the RFC dictionary. |
| public static boolean | Returns: true if check was successful else falsedigest byte array digest)Checks if the given checksum matches SHA-1 checksum of the RFC dictionary. |
| public static boolean | Returns: true if check was successful else falsedigest byte array digest)Checks if the given checksum matches SHA-256 checksum of the RFC dictionary. |
| public static ByteBuffer | Returns: ByteBuffer instancebyte array of data data)Copy bytes to a new direct ByteBuffer. |
| public static void | |
| public static void | setDictionaryData(InputStream
InputStream of dictionary dataReads data and sets it to be brotli dictionary. |
| public static void |
| isDictionaryDataSet | back to summary |
|---|---|
| private static boolean isDictionaryDataSet | |
| mutex | back to summary |
|---|---|
| private static final Object mutex | |
| RFC_DICTIONARY_MD5 | back to summary |
|---|---|
| private static final byte[] RFC_DICTIONARY_MD5 | |
| RFC_DICTIONARY_SHA_1 | back to summary |
|---|---|
| private static final byte[] RFC_DICTIONARY_SHA_1 | |
| RFC_DICTIONARY_SHA_256 | back to summary |
|---|---|
| private static final byte[] RFC_DICTIONARY_SHA_256 | |
| RFC_DICTIONARY_SIZE | back to summary |
|---|---|
| public static final int RFC_DICTIONARY_SIZE | |
| BrotliCommon | back to summary |
|---|---|
| public BrotliCommon() | |
| checkDictionaryDataMd5 | back to summary |
|---|---|
| public static boolean checkDictionaryDataMd5(byte[] digest) Checks if the given checksum matches MD5 checksum of the RFC dictionary.
| |
| checkDictionaryDataSha1 | back to summary |
|---|---|
| public static boolean checkDictionaryDataSha1(byte[] digest) Checks if the given checksum matches SHA-1 checksum of the RFC dictionary.
| |
| checkDictionaryDataSha256 | back to summary |
|---|---|
| public static boolean checkDictionaryDataSha256(byte[] digest) Checks if the given checksum matches SHA-256 checksum of the RFC dictionary.
| |
| makeNative | back to summary |
|---|---|
| public static ByteBuffer makeNative(byte[] data) Copy bytes to a new direct ByteBuffer. Direct byte buffers are used to supply native code with large data chunks.
| |
| setDictionaryData | back to summary |
|---|---|
| public static void setDictionaryData(byte[] data) Copies data and sets it to be brotli dictionary.
| |
| setDictionaryData | back to summary |
|---|---|
| public static void setDictionaryData(InputStream src) throws IOException Reads data and sets it to be brotli dictionary.
| |
| setDictionaryData | back to summary |
|---|---|
| public static void setDictionaryData(ByteBuffer data) Sets data to be brotli dictionary.
| |