| Modifier and Type | Class and Description |
|---|---|
| private static enum | Bzip2Decoder.
Current state of stream. |
| Modifier and Type | Field and Description |
|---|---|
| private int | blockCRC
The CRC of the current block as read from the block header. |
| private Bzip2BlockDecompressor | blockDecompressor
The decompressor for the current block. |
| private int | blockSize
Always: in the range 0 .. |
| private Bzip2Decoder. | |
| private Bzip2HuffmanStageDecoder | huffmanStageDecoder
Bzip2 Huffman coding stage. |
| private final Bzip2BitReader | reader
A reader that provides bit-level reads. |
| private int | streamCRC
The merged CRC of all blocks decompressed so far. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | decode(ChannelHandlerContext
the ctx, ByteBuf ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in, List<Object> ByteBuf from which to read datathe out)List to which decoded messages should be addedImplements abstract io. ByteBuf to an other.
|
| public boolean |
| blockCRC | back to summary |
|---|---|
| private int blockCRC The CRC of the current block as read from the block header. | |
| blockDecompressor | back to summary |
|---|---|
| private Bzip2BlockDecompressor blockDecompressor The decompressor for the current block. | |
| blockSize | back to summary |
|---|---|
| private int blockSize Always: in the range 0 .. 9. The current block size is 100000 * this number. | |
| currentState | back to summary |
|---|---|
| private Bzip2Decoder. | |
| huffmanStageDecoder | back to summary |
|---|---|
| private Bzip2HuffmanStageDecoder huffmanStageDecoder Bzip2 Huffman coding stage. | |
| reader | back to summary |
|---|---|
| private final Bzip2BitReader reader A reader that provides bit-level reads. | |
| streamCRC | back to summary |
|---|---|
| private int streamCRC The merged CRC of all blocks decompressed so far. | |
| Bzip2Decoder | back to summary |
|---|---|
| public Bzip2Decoder() | |
| decode | back to summary |
|---|---|
| protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception Implements abstract io. Doc from io. Decode the from one
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Returns | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. | |
| public static final Bzip2Decoder. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Bzip2Decoder. | |
| public static Bzip2Decoder. |
| DECODE_HUFFMAN_DATA | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| EOF | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| INIT | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| INIT_BLOCK | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| INIT_BLOCK_PARAMS | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| RECEIVE_HUFFMAN_LENGTH | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| RECEIVE_HUFFMAN_USED_BITMAPS | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| RECEIVE_HUFFMAN_USED_MAP | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| RECEIVE_SELECTORS | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| RECEIVE_SELECTORS_NUMBER | back to summary |
|---|---|
| public static final Bzip2Decoder. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static Bzip2Decoder. | |
| values | back to summary |
|---|---|
| public static Bzip2Decoder. | |