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(byte[] data,
int offset,
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) |
static byte[] |
encode(ChunkEncoder enc,
byte[] data,
int offset,
int length) |
public static byte[] encode(byte[] data) throws IOException
IOException
public static byte[] encode(byte[] data, int length) throws IOException
IOException
public static byte[] encode(byte[] data, int offset, int length) throws IOException
IOException
public static byte[] encode(ChunkEncoder enc, byte[] data, int length) throws IOException
IOException
public static byte[] encode(ChunkEncoder enc, byte[] data, int offset, int length) throws IOException
IOException
Copyright © 2013. All Rights Reserved.