mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-25 06:54:51 +02:00
Fix the scope of SnappyOutputStream.MIN_BLOCK_SIZE
and SnappyOutputStream.DEFAULT_BLOCK_SIZE
(#638)
This commit is contained in:
parent
4277fbcdc8
commit
466d05f31f
@ -60,8 +60,8 @@ public class SnappyOutputStream
|
|||||||
extends OutputStream
|
extends OutputStream
|
||||||
{
|
{
|
||||||
public static final int MAX_BLOCK_SIZE = 512 * 1024 * 1024; // 512 MiB
|
public static final int MAX_BLOCK_SIZE = 512 * 1024 * 1024; // 512 MiB
|
||||||
static final int MIN_BLOCK_SIZE = 1 * 1024;
|
public static final int MIN_BLOCK_SIZE = 1 * 1024;
|
||||||
static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
|
public static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
|
||||||
|
|
||||||
protected final OutputStream out;
|
protected final OutputStream out;
|
||||||
private final int blockSize;
|
private final int blockSize;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user