You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/java/dev/freya02/discord/zstd/api/DiscordZstd.java
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@
4
4
5
5
importjava.io.InputStream;
6
6
7
+
/**
8
+
* Main interface which allows creating {@linkplain DiscordZstdContext decompression contexts},
9
+
* and {@linkplain DiscordZstdDecompressorFactory decompressor factories}.
10
+
*/
7
11
@NullMarked
8
12
publicinterfaceDiscordZstd {
9
13
/**
@@ -20,7 +24,7 @@ public interface DiscordZstd {
20
24
* @param bufferSizeHint
21
25
* A hint for the size of the buffer used for decompression,
22
26
* must be larger than {@value DiscordZstdDecompressor#MIN_BUFFER_SIZE} or be equal to {@value DiscordZstdDecompressor#ZSTD_RECOMMENDED_BUFFER_SIZE}.
23
-
* Typically, bigger buffers mean less decompression loops, it does not change inputs or outputs
27
+
* <br>Typically, bigger buffers mean less decompression loops, it does not change inputs or outputs
24
28
*
25
29
* @throws IllegalArgumentException
26
30
* If {@code bufferSize} is less than {@value DiscordZstdDecompressor#MIN_BUFFER_SIZE} and not {@value DiscordZstdDecompressor#ZSTD_RECOMMENDED_BUFFER_SIZE}
0 commit comments