public class LZFEncoder extends Object
ChunkEncoder to compress individual chunks and
combines resulting chunks into contiguous output byte array.| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encode(byte[] data) |
static byte[] |
encode(byte[] data,
int length)
Method for compressing given input data using LZF encoding and
block structure (compatible with lzf command line utility).
|
static byte[] |
encode(ChunkEncoder enc,
byte[] data,
int length) |
public static byte[] encode(byte[] data)
throws IOException
IOExceptionpublic static byte[] encode(byte[] data,
int length)
throws IOException
IOExceptionpublic static byte[] encode(ChunkEncoder enc, byte[] data, int length) throws IOException
IOExceptionCopyright © 2020. All rights reserved.