Package | Description |
---|---|
com.ning.compress.lzf |
Package that contains public API of the LZF codec, as well as some
of the implementation (specifically parts that are designed to be overridable).
|
com.ning.compress.lzf.impl |
Package that contains implementation classes that are not part
of public interface of LZF codec.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ChunkDecoder._reportArrayOverflow(byte[] targetBuffer,
int outPtr,
int dataLen)
Helper method called when it is determined that the target buffer can not
hold all data to copy or uncompress
|
protected void |
ChunkDecoder._reportCorruptHeader() |
static int |
LZFDecoder.calculateUncompressedSize(byte[] data,
int offset,
int length)
Helper method that checks resulting size of an LZF chunk, regardless of
whether it contains compressed or uncompressed contents.
|
static int |
ChunkDecoder.calculateUncompressedSize(byte[] data,
int ptr,
int length)
Helper method that will calculate total uncompressed size, for sequence of
one or more LZF blocks stored in given byte array.
|
static byte[] |
LZFDecoder.decode(byte[] inputBuffer) |
byte[] |
ChunkDecoder.decode(byte[] inputBuffer)
Method for decompressing a block of input data encoded in LZF
block structure (compatible with lzf command line utility),
and can consist of any number of blocks.
|
static int |
LZFDecoder.decode(byte[] inputBuffer,
byte[] targetBuffer) |
int |
ChunkDecoder.decode(byte[] inputBuffer,
byte[] targetBuffer)
Method for decompressing a block of input data encoded in LZF
block structure (compatible with lzf command line utility),
and can consist of any number of blocks.
|
static byte[] |
LZFDecoder.decode(byte[] inputBuffer,
int offset,
int length) |
byte[] |
ChunkDecoder.decode(byte[] inputBuffer,
int inputPtr,
int inputLen)
Method for decompressing a block of input data encoded in LZF
block structure (compatible with lzf command line utility),
and can consist of any number of blocks.
|
static int |
LZFDecoder.decode(byte[] sourceBuffer,
int offset,
int length,
byte[] targetBuffer) |
int |
ChunkDecoder.decode(byte[] sourceBuffer,
int inPtr,
int inLength,
byte[] targetBuffer)
Method for decompressing a block of input data encoded in LZF
block structure (compatible with LZF command line utility),
and can consist of any number of blocks.
|
abstract void |
ChunkDecoder.decodeChunk(byte[] in,
int inPos,
byte[] out,
int outPos,
int outEnd)
Main decode method for individual chunks.
|
static byte[] |
LZFDecoder.safeDecode(byte[] inputBuffer) |
static int |
LZFDecoder.safeDecode(byte[] inputBuffer,
byte[] targetBuffer) |
static byte[] |
LZFDecoder.safeDecode(byte[] inputBuffer,
int offset,
int length) |
static int |
LZFDecoder.safeDecode(byte[] sourceBuffer,
int offset,
int length,
byte[] targetBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
VanillaChunkDecoder.decodeChunk(byte[] in,
int inPos,
byte[] out,
int outPos,
int outEnd) |
void |
UnsafeChunkDecoder.decodeChunk(byte[] in,
int inPos,
byte[] out,
int outPos,
int outEnd) |
Copyright © 2020 FasterXML. All rights reserved.