Uses of Class
com.ning.compress.lzf.LZFException
Packages that use LZFException
Package
Description
Package that contains public API of the LZF codec, as well as some
of the implementation (specifically parts that are designed to be overridable).
Package that contains implementation classes that are not part
of public interface of LZF codec.
-
Uses of LZFException in com.ning.compress.lzf
Methods in com.ning.compress.lzf that throw LZFExceptionModifier and TypeMethodDescriptionprotected 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 uncompressprotected void
ChunkDecoder._reportCorruptHeader()
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 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.final 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.final 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.final 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.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.static byte[]
LZFDecoder.decode
(byte[] inputBuffer) static int
LZFDecoder.decode
(byte[] inputBuffer, byte[] targetBuffer) static byte[]
LZFDecoder.decode
(byte[] inputBuffer, int offset, int length) static int
LZFDecoder.decode
(byte[] sourceBuffer, int offset, int length, byte[] targetBuffer) 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) -
Uses of LZFException in com.ning.compress.lzf.impl
Methods in com.ning.compress.lzf.impl that throw LZFExceptionModifier and TypeMethodDescriptionfinal void
UnsafeChunkDecoder.decodeChunk
(byte[] in, int inPos, byte[] out, int outPos, int outEnd) final void
VanillaChunkDecoder.decodeChunk
(byte[] in, int inPos, byte[] out, int outPos, int outEnd)