@@ -13,7 +13,7 @@ public abstract class BaseZstdBufferDecompressingStreamNoFinalizer implements Cl
13
13
private int consumed ;
14
14
private int produced ;
15
15
16
- public BaseZstdBufferDecompressingStreamNoFinalizer (ByteBuffer source ) {
16
+ BaseZstdBufferDecompressingStreamNoFinalizer (ByteBuffer source ) {
17
17
this .source = source ;
18
18
}
19
19
@@ -26,20 +26,20 @@ public BaseZstdBufferDecompressingStreamNoFinalizer(ByteBuffer source) {
26
26
protected ByteBuffer refill (ByteBuffer toRefill ) {
27
27
return toRefill ;
28
28
}
29
-
29
+
30
30
public boolean hasRemaining () {
31
31
return !streamEnd && (source .hasRemaining () || !finishedFrame );
32
32
}
33
33
34
- BaseZstdBufferDecompressingStreamNoFinalizer setDict (byte [] dict ) throws IOException {
34
+ public BaseZstdBufferDecompressingStreamNoFinalizer setDict (byte [] dict ) throws IOException {
35
35
long size = Zstd .loadDictDecompress (stream , dict , dict .length );
36
36
if (Zstd .isError (size )) {
37
37
throw new ZstdIOException (size );
38
38
}
39
39
return this ;
40
40
}
41
41
42
- BaseZstdBufferDecompressingStreamNoFinalizer setDict (ZstdDictDecompress dict ) throws IOException {
42
+ public BaseZstdBufferDecompressingStreamNoFinalizer setDict (ZstdDictDecompress dict ) throws IOException {
43
43
dict .acquireSharedLock ();
44
44
try {
45
45
long size = Zstd .loadFastDictDecompress (stream , dict );
@@ -52,7 +52,7 @@ BaseZstdBufferDecompressingStreamNoFinalizer setDict(ZstdDictDecompress dict) th
52
52
return this ;
53
53
}
54
54
55
- BaseZstdBufferDecompressingStreamNoFinalizer setLongMax (int windowLogMax ) throws IOException {
55
+ public BaseZstdBufferDecompressingStreamNoFinalizer setLongMax (int windowLogMax ) throws IOException {
56
56
long size = Zstd .setDecompressionLongMax (stream , windowLogMax );
57
57
if (Zstd .isError (size )) {
58
58
throw new ZstdIOException (size );
0 commit comments