ChunkDecoder implementation that can be used on any
platform.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static final void | |
| public final int | decodeChunk(final InputStream
An input stream of LZF compressed bytes is, final byte[] A byte array used as a scratch area. inputBuffer, final byte[] A byte array in which the result is returned outputBuffer)Implements abstract com. |
| public final void | decodeChunk(byte[] in, int inPos, byte[] out, int outPos, int outEnd)
Implements abstract com. |
| public int | skipOrDecodeChunk(final InputStream is, final byte[] inputBuffer, final byte[] outputBuffer, final long maxToSkip)
Implements abstract com. |
| VanillaChunkDecoder | back to summary |
|---|---|
| public VanillaChunkDecoder() | |
| copyUpTo32WithSwitch | back to summary |
|---|---|
| protected static final void copyUpTo32WithSwitch(byte[] in, int inPos, byte[] out, int outPos, int lengthMinusOne) | |
| decodeChunk | back to summary |
|---|---|
| public final int decodeChunk(final InputStream is, final byte[] inputBuffer, final byte[] outputBuffer) throws IOException Implements abstract com. Doc from com. Main decode from a stream. Decompressed bytes are placed in the outputBuffer, inputBuffer is a "scratch-area".
| |
| decodeChunk | back to summary |
|---|---|
| public final void decodeChunk(byte[] in, int inPos, byte[] out, int outPos, int outEnd) throws LZFException Implements abstract com. Doc from com. Main decode method for individual chunks.
| |
| skipOrDecodeChunk | back to summary |
|---|---|
| public int skipOrDecodeChunk(final InputStream is, final byte[] inputBuffer, final byte[] outputBuffer, final long maxToSkip) throws IOException Implements abstract com.
| |