public final class UnsafeChunkEncoderBE extends UnsafeChunkEncoder
BYTE_ARRAY_OFFSET, BYTE_ARRAY_OFFSET_PLUS2, unsafe_encodeBuffer, _hashModulo, _hashTable, _headerBuffer, _recycler, MAX_HASH_SIZE, MAX_OFF, MAX_REF, MIN_BLOCK_TO_COMPRESS, MIN_HASH_SIZE, TAIL_LENGTH| Constructor and Description |
|---|
UnsafeChunkEncoderBE(int totalLength) |
UnsafeChunkEncoderBE(int totalLength,
boolean bogus) |
UnsafeChunkEncoderBE(int totalLength,
BufferRecycler bufferRecycler) |
UnsafeChunkEncoderBE(int totalLength,
BufferRecycler bufferRecycler,
boolean bogus) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
tryCompress(byte[] in,
int inPos,
int inEnd,
byte[] out,
int outPos)
Main workhorse method that will try to compress given chunk, and return
end position (offset to byte after last included byte).
|
_copyFullLiterals, _copyLongLiterals, _copyPartialLiterals, _findTailMatchLength, _handleTailappendEncodedChunk, appendEncodedIfCompresses, close, encodeAndWriteChunk, encodeAndWriteChunkIfCompresses, encodeChunk, encodeChunkIfCompresses, getBufferRecycler, hashpublic UnsafeChunkEncoderBE(int totalLength)
public UnsafeChunkEncoderBE(int totalLength,
boolean bogus)
public UnsafeChunkEncoderBE(int totalLength,
BufferRecycler bufferRecycler)
public UnsafeChunkEncoderBE(int totalLength,
BufferRecycler bufferRecycler,
boolean bogus)
protected int tryCompress(byte[] in,
int inPos,
int inEnd,
byte[] out,
int outPos)
ChunkEncodertryCompress in class ChunkEncoderresult - originalOutPost
is the actual length of compressed chunk (without header)Copyright © 2014. All Rights Reserved.