| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| protected int | tryCompress(byte[] in, int inPos, int inEnd, byte[] out, int outPos)
Implements abstract com. |
| UnsafeChunkEncoderBE | back to summary |
|---|---|
| public UnsafeChunkEncoderBE(int totalLength) | |
| UnsafeChunkEncoderBE | back to summary |
|---|---|
| public UnsafeChunkEncoderBE(int totalLength, boolean bogus) | |
| UnsafeChunkEncoderBE | back to summary |
|---|---|
| public UnsafeChunkEncoderBE(int totalLength, BufferRecycler bufferRecycler) | |
| UnsafeChunkEncoderBE | back to summary |
|---|---|
| public UnsafeChunkEncoderBE(int totalLength, BufferRecycler bufferRecycler, boolean bogus) | |
| _findLongMatchLength | back to summary |
|---|---|
| private static final int _findLongMatchLength(final byte[] in, int ptr1, int ptr2, final int maxPtr1) | |
| _findMatchLength | back to summary |
|---|---|
| private static final int _findMatchLength(final byte[] in, int ptr1, int ptr2, final int maxPtr1) | |
| _getInt | back to summary |
|---|---|
| private static final int _getInt(final byte[] in, final int inPos) | |
| _leadingBytes | back to summary |
|---|---|
| private static final int _leadingBytes(int i1, int i2) | |
| _leadingBytes | back to summary |
|---|---|
| private static final int _leadingBytes(long l1, long l2) | |
| tryCompress | back to summary |
|---|---|
| protected int tryCompress(byte[] in, int inPos, int inEnd, byte[] out, int outPos) Implements abstract com. Doc from com. Main workhorse method that will try to compress given chunk, and return end position (offset to byte after last included byte). Result will be "raw" encoded contents without chunk header information: caller is responsible for prepending header, if it chooses to use encoded data; it may also choose to instead create an uncompressed chunk.
| |