| Modifier and Type | Field and Description |
|---|---|
| private final ArrayCache | |
| private final byte[] | |
| pack-priv static final int | |
| private boolean | |
| private IOException | |
| private boolean | |
| private LZEncoder | |
| private LZMAEncoder | |
| private FinishableOutputStream | |
| private int | |
| private final int | |
| private boolean | |
| private RangeEncoderToBuffer | |
| private boolean | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public void | finish()
Overrides org. |
| public void | flush()
Overrides java. Implements java. |
| private static int | |
| pack-priv static int | |
| public void | write(int
the b)byte.Implements abstract java. |
| public void | write(byte[]
the data. buf, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| private void | |
| private void | |
| private void | |
| private void |
| arrayCache | back to summary |
|---|---|
| private final ArrayCache arrayCache | |
| chunkHeader | back to summary |
|---|---|
| private final byte[] chunkHeader | |
| COMPRESSED_SIZE_MAX | back to summary |
|---|---|
| pack-priv static final int COMPRESSED_SIZE_MAX | |
| dictResetNeeded | back to summary |
|---|---|
| private boolean dictResetNeeded | |
| exception | back to summary |
|---|---|
| private IOException exception | |
| finished | back to summary |
|---|---|
| private boolean finished | |
| lz | back to summary |
|---|---|
| private LZEncoder lz | |
| lzma | back to summary |
|---|---|
| private LZMAEncoder lzma | |
| out | back to summary |
|---|---|
| private FinishableOutputStream out | |
| pendingSize | back to summary |
|---|---|
| private int pendingSize | |
| props | back to summary |
|---|---|
| private final int props | |
| propsNeeded | back to summary |
|---|---|
| private boolean propsNeeded | |
| rc | back to summary |
|---|---|
| private RangeEncoderToBuffer rc | |
| stateResetNeeded | back to summary |
|---|---|
| private boolean stateResetNeeded | |
| tempBuf | back to summary |
|---|---|
| private final byte[] tempBuf | |
| LZMA2OutputStream | back to summary |
|---|---|
| pack-priv LZMA2OutputStream(FinishableOutputStream out, LZMA2Options options, ArrayCache arrayCache) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| finish | back to summary |
|---|---|
| public void finish() throws IOException Overrides org. Doc from org. Finish the stream without closing the underlying stream. No more data may be written to the stream after finishing.
The | |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes
to be written out. The general contract of If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| getExtraSizeBefore | back to summary |
|---|---|
| private static int getExtraSizeBefore(int dictSize) | |
| getMemoryUsage | back to summary |
|---|---|
| pack-priv static int getMemoryUsage(LZMA2Options options) | |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] buf, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| writeChunk | back to summary |
|---|---|
| private void writeChunk() throws IOException | |
| writeEndMarker | back to summary |
|---|---|
| private void writeEndMarker() throws IOException | |
| writeLZMA | back to summary |
|---|---|
| private void writeLZMA(int uncompressedSize, int compressedSize) throws IOException | |
| writeUncompressed | back to summary |
|---|---|
| private void writeUncompressed(int uncompressedSize) throws IOException | |