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 voidChunkDecoder._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 voidChunkDecoder._reportCorruptHeader()static intChunkDecoder.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 intLZFDecoder.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 intChunkDecoder.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.intChunkDecoder.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 intLZFDecoder.decode(byte[] inputBuffer, byte[] targetBuffer) static byte[]LZFDecoder.decode(byte[] inputBuffer, int offset, int length) static intLZFDecoder.decode(byte[] sourceBuffer, int offset, int length, byte[] targetBuffer) abstract voidChunkDecoder.decodeChunk(byte[] in, int inPos, byte[] out, int outPos, int outEnd) Main decode method for individual chunks.static byte[]LZFDecoder.safeDecode(byte[] inputBuffer) static intLZFDecoder.safeDecode(byte[] inputBuffer, byte[] targetBuffer) static byte[]LZFDecoder.safeDecode(byte[] inputBuffer, int offset, int length) static intLZFDecoder.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 voidUnsafeChunkDecoder.decodeChunk(byte[] in, int inPos, byte[] out, int outPos, int outEnd) final voidVanillaChunkDecoder.decodeChunk(byte[] in, int inPos, byte[] out, int outPos, int outEnd)