| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| private int | nextBackReferenceSize
Back-Reference-size part of the block starting byte. |
| pack-priv static final int | |
| private BlockLZ4CompressorInputStream. | state
Current state of the stream |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public | BlockLZ4CompressorInputStream(final InputStream
An InputStream to read compressed data from is)Creates a new LZ4 input stream. |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | Returns: false if there is no more back-reference - this means this is the last block of the stream.
|
| public int | read(final byte[]
the buffer into which the data is read. b, final int the start offset in array off, final int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. len bytes of data from the input stream into
an array of bytes.
|
| private long | |
| private void |
| BACK_REFERENCE_SIZE_MASK | back to summary |
|---|---|
| pack-priv static final int BACK_REFERENCE_SIZE_MASK | |
| LITERAL_SIZE_MASK | back to summary |
|---|---|
| pack-priv static final int LITERAL_SIZE_MASK | |
| nextBackReferenceSize | back to summary |
|---|---|
| private int nextBackReferenceSize Back-Reference-size part of the block starting byte. | |
| SIZE_BITS | back to summary |
|---|---|
| pack-priv static final int SIZE_BITS | |
| state | back to summary |
|---|---|
| private BlockLZ4CompressorInputStream. Current state of the stream | |
| WINDOW_SIZE | back to summary |
|---|---|
| pack-priv static final int WINDOW_SIZE | |
| BlockLZ4CompressorInputStream | back to summary |
|---|---|
| public BlockLZ4CompressorInputStream(final InputStream is) Creates a new LZ4 input stream.
| |
| initializeBackReference | back to summary |
|---|---|
private boolean initializeBackReference() throws IOException
| |
| read | back to summary |
|---|---|
| public int read(final byte[] b, final int off, final int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |
| readSizeBytes | back to summary |
|---|---|
| private long readSizeBytes() throws IOException | |
| readSizes | back to summary |
|---|---|
| private void readSizes() throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BlockLZ4CompressorInputStream. | |
| public static final BlockLZ4CompressorInputStream. | |
| public static final BlockLZ4CompressorInputStream. | |
| public static final BlockLZ4CompressorInputStream. | |
| public static final BlockLZ4CompressorInputStream. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BlockLZ4CompressorInputStream. | |
| public static BlockLZ4CompressorInputStream. |
| EOF | back to summary |
|---|---|
| public static final BlockLZ4CompressorInputStream. | |
| IN_BACK_REFERENCE | back to summary |
|---|---|
| public static final BlockLZ4CompressorInputStream. | |
| IN_LITERAL | back to summary |
|---|---|
| public static final BlockLZ4CompressorInputStream. | |
| LOOKING_FOR_BACK_REFERENCE | back to summary |
|---|---|
| public static final BlockLZ4CompressorInputStream. | |
| NO_BLOCK | back to summary |
|---|---|
| public static final BlockLZ4CompressorInputStream. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static BlockLZ4CompressorInputStream. | |
| values | back to summary |
|---|---|
| public static BlockLZ4CompressorInputStream. | |