Index

A C D G I L M N P R S 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.DiscordZstdContext
 
close() - Method in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressor
Closes the decompressor and frees the associated resources.
create() - Method in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressorFactory
Creates a new DiscordZstdDecompressor configured with the parameters passed to this factory.
createContext() - Method in interface dev.freya02.discord.zstd.api.DiscordZstd
Creates a new DiscordZstdContext.
createDecompressorFactory(int) - Method in interface dev.freya02.discord.zstd.api.DiscordZstd
Creates a new DiscordZstdDecompressorFactory with the provided decompression buffer size.
createInputStream(byte[]) - Method in interface dev.freya02.discord.zstd.api.DiscordZstdContext
 

D

decompress(byte[]) - Method in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressor
Decompresses the provided data.
DEFAULT_BUFFER_SIZE - Static variable in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressor
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
 
DiscordZstd - Interface in dev.freya02.discord.zstd.api
 
DiscordZstdContext - Interface in dev.freya02.discord.zstd.api
 
DiscordZstdDecompressor - Interface in dev.freya02.discord.zstd.api
A Zstandard streaming decompressor for Discord gateway messages.
DiscordZstdDecompressorFactory - Interface in dev.freya02.discord.zstd.api
DiscordZstdException - Exception Class in dev.freya02.discord.zstd.api
An exception thrown when Zstd returns an error code.
DiscordZstdException(String) - Constructor for exception class dev.freya02.discord.zstd.api.DiscordZstdException
 
DiscordZstdNativesLoader - Class in dev.freya02.discord.zstd.api
Utility class to load Zstd natives.
DiscordZstdNativesLoader() - Constructor for class dev.freya02.discord.zstd.api.DiscordZstdNativesLoader
 
DiscordZstdProvider - Class in dev.freya02.discord.zstd.api
 
DiscordZstdProvider() - Constructor for class dev.freya02.discord.zstd.api.DiscordZstdProvider
 

G

get() - Static method in class dev.freya02.discord.zstd.api.DiscordZstdProvider
Loads the first implementation of DiscordZstd found on the classpath.
getSystem() - Static method in class dev.freya02.discord.zstd.internal.NativeUtil
 

I

isLoaded() - Static method in class dev.freya02.discord.zstd.api.DiscordZstdNativesLoader
Whether natives were already loaded.

L

load(Path) - Static method in class dev.freya02.discord.zstd.api.DiscordZstdNativesLoader
Loads the natives from the provided path's file.
loadFromJar(String, Class) - Static method in class dev.freya02.discord.zstd.api.DiscordZstdNativesLoader
Loads the natives using the provided path from the provided class.

M

MIN_BUFFER_SIZE - Static variable in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressor
The minimum buffer size for decompression, 1 KB

N

NativeUtil - Class in dev.freya02.discord.zstd.internal
 
NativeUtil() - Constructor for class dev.freya02.discord.zstd.internal.NativeUtil
 
NativeUtil.System - Class in dev.freya02.discord.zstd.internal
 

P

platform - Variable in class dev.freya02.discord.zstd.internal.NativeUtil.System
 

R

reset() - Method in interface dev.freya02.discord.zstd.api.DiscordZstdContext
 
reset() - Method in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressor
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.

S

sharedLibraryExtension - Variable in class dev.freya02.discord.zstd.internal.NativeUtil.System
 

Z

ZSTD_RECOMMENDED_BUFFER_SIZE - Static variable in interface dev.freya02.discord.zstd.api.DiscordZstdDecompressor
The "recommended" buffer size as defined by ZSTD_DStreamOutSize() (128 KB as of v1.5.7).
A C D G I L M N P R S Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form