Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
C
- close() - Method in interface dev.freya02.discord.zstd.api.ZstdDecompressor
-
Closes the decompressor and frees the associated resources.
D
- decompress(byte[]) - Method in interface dev.freya02.discord.zstd.api.ZstdDecompressor
-
Decompresses the provided data.
- DEFAULT_BUFFER_SIZE - Static variable in interface dev.freya02.discord.zstd.api.ZstdDecompressor
-
The default buffer size as defined by
ZSTD_DStreamOutSize()(128 KB as of v1.5.7) - dev.freya02.discord.zstd.api - package dev.freya02.discord.zstd.api
- dev.freya02.discord.zstd.internal - package dev.freya02.discord.zstd.internal
G
- get(int) - Method in interface dev.freya02.discord.zstd.api.ZstdDecompressorFactory
-
Creates a new
ZstdDecompressorinstance with the provided decompression buffer size.
I
- isLoaded() - Static method in class dev.freya02.discord.zstd.api.ZstdNativesLoader
-
Whether natives were already loaded.
L
- load(Path) - Static method in class dev.freya02.discord.zstd.api.ZstdNativesLoader
-
Loads the natives from the provided path's file.
- loadFromJar() - Static method in class dev.freya02.discord.zstd.api.ZstdNativesLoader
-
Loads the natives from this library's JAR.
- loadFromJar(String, Class) - Static method in class dev.freya02.discord.zstd.api.ZstdNativesLoader
-
Loads the natives using the provided path from the provided class.
M
- MIN_BUFFER_SIZE - Static variable in interface dev.freya02.discord.zstd.api.ZstdDecompressor
-
The minimum buffer size for decompression, 8 KB
R
- reset() - Method in interface dev.freya02.discord.zstd.api.ZstdDecompressor
-
Resets the decompressor, the next decompressed message must be the first message of the Zstd stream, meaning you will have to close your websocket connection and start a new one.
Z
- ZstdDecompressor - Interface in dev.freya02.discord.zstd.api
-
A Zstandard streaming decompressor for Discord gateway messages.
- ZstdDecompressorFactory - Interface in dev.freya02.discord.zstd.api
-
Factory of
ZstdDecompressor. - ZstdException - Exception Class in dev.freya02.discord.zstd.api
-
An exception thrown when Zstd returns an error code.
- ZstdException(String) - Constructor for exception class dev.freya02.discord.zstd.api.ZstdException
- ZstdNativesLoader - Class in dev.freya02.discord.zstd.api
-
Utility class to load Zstd natives.
- ZstdNativesLoader() - Constructor for class dev.freya02.discord.zstd.api.ZstdNativesLoader
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form