Index

A C D G I L M R Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractZstdDecompressor - Class in dev.freya02.discord.zstd.internal
 

C

close() - Method in interface dev.freya02.discord.zstd.api.ZstdDecompressor
Closes the decompressor and frees the associated resources.
create() - Method in interface dev.freya02.discord.zstd.api.ZstdDecompressorFactory
Creates a new ZstdDecompressor configured with the parameters passed to this factory.

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 for decompression, 8 KB
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.ZstdDecompressorFactoryProvider
Creates a new ZstdDecompressorFactory 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, 1 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

ZSTD_RECOMMENDED_BUFFER_SIZE - Static variable in interface dev.freya02.discord.zstd.api.ZstdDecompressor
The "recommended" buffer size as defined by ZSTD_DStreamOutSize() (128 KB as of v1.5.7).
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.
ZstdDecompressorFactoryProvider - Interface in dev.freya02.discord.zstd.api
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
 
A C D G I L M R Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form