public class LZ4Util extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static float |
DEFAULT_BUFFER_RATIO |
| Constructor and Description |
|---|
LZ4Util() |
| Modifier and Type | Method and Description |
|---|---|
static BytesBuffer |
compress(byte[] bytes,
int blockSize) |
static BytesBuffer |
compress(byte[] bytes,
int blockSize,
float bufferRatio) |
static BytesBuffer |
decompress(byte[] bytes,
int blockSize) |
static BytesBuffer |
decompress(byte[] bytes,
int blockSize,
float bufferRatio) |
protected static final float DEFAULT_BUFFER_RATIO
public static BytesBuffer compress(byte[] bytes, int blockSize)
public static BytesBuffer compress(byte[] bytes, int blockSize, float bufferRatio)
public static BytesBuffer decompress(byte[] bytes, int blockSize)
public static BytesBuffer decompress(byte[] bytes, int blockSize, float bufferRatio)
Copyright © 2023 The Apache Software Foundation. All rights reserved.