GeezerVison is showing netty.io — LzmaFrameEncoder (Netty API Reference (4.1.141.Final))
Class LzmaFrameEncoder
-
-
Constructor Summary
Constructors
Constructor
Description
Creates LZMA encoder with default settings.
Creates LZMA encoder with specified dictionary size and default values of
lc = 3,
lp = 0,
pb = 2.
Creates LZMA encoder with specified lc, lp, pb
values and the medium dictionary size of 65536.
Creates LZMA encoder with specified lc, lp, pb values and custom dictionary size.
LzmaFrameEncoder(int lc,
int lp,
int pb,
int dictionarySize,
boolean endMarkerMode,
int numFastBytes)
Creates LZMA encoder with specified settings.
-
Method Summary
Modifier and Type
Method
Description
protected void
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LzmaFrameEncoder
public LzmaFrameEncoder()
Creates LZMA encoder with default settings.
-
LzmaFrameEncoder
public LzmaFrameEncoder(int lc,
int lp,
int pb)
Creates LZMA encoder with specified lc, lp, pb
values and the medium dictionary size of 65536.
-
LzmaFrameEncoder
public LzmaFrameEncoder(int dictionarySize)
Creates LZMA encoder with specified dictionary size and default values of
lc = 3,
lp = 0,
pb = 2.
-
LzmaFrameEncoder
public LzmaFrameEncoder(int lc,
int lp,
int pb,
int dictionarySize)
Creates LZMA encoder with specified lc, lp, pb values and custom dictionary size.
-
LzmaFrameEncoder
public LzmaFrameEncoder(int lc,
int lp,
int pb,
int dictionarySize,
boolean endMarkerMode,
int numFastBytes)
Creates LZMA encoder with specified settings.
- Parameters:
lc - the number of "literal context" bits, available values [0, 8], default value 3.
lp - the number of "literal position" bits, available values [0, 4], default value 0.
pb - the number of "position" bits, available values [0, 4], default value 2.
dictionarySize - available values [0, Integer.MAX_VALUE],
default value is 65536.
endMarkerMode - indicates should LzmaFrameEncoder use end of stream marker or not.
Note, that LzmaFrameEncoder always sets size of uncompressed data
in LZMA header, so EOS marker is unnecessary. But you may use it for
better portability. For full description see "LZMA Decoding modes" section
of LZMA-Specification.txt in official LZMA SDK.
numFastBytes - available values [5, 273].
-
|