public class Decoder extends java.io.InputStream implements ICompressCoder, ICompressSetDecoderProperties2, ICompressGetInStreamProcessedSize, ICompressSetInStream, ICompressSetOutStreamSize
INVALID_OUTSIZE| Constructor and Description |
|---|
Decoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
Code(java.io.InputStream inStream,
java.io.OutputStream outStream,
long outSize,
ICompressProgressInfo progress) |
int |
CodeReal(java.io.InputStream inStream,
java.io.OutputStream outStream,
long outSize,
ICompressProgressInfo progress) |
int |
Flush() |
long |
GetInStreamProcessedSize() |
int |
read() |
int |
read(byte[] data,
int off,
int size) |
int |
ReleaseInStream() |
boolean |
SetDecoderProperties2(byte[] properties) |
int |
SetInStream(java.io.InputStream inStream) |
int |
SetOutStreamSize(long outSize) |
public long GetInStreamProcessedSize()
GetInStreamProcessedSize in interface ICompressGetInStreamProcessedSizepublic int ReleaseInStream()
throws java.io.IOException
ReleaseInStream in interface ICompressSetInStreamjava.io.IOExceptionpublic int SetInStream(java.io.InputStream inStream)
SetInStream in interface ICompressSetInStreampublic int SetOutStreamSize(long outSize)
SetOutStreamSize in interface ICompressSetOutStreamSizepublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] data,
int off,
int size)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int Flush()
throws java.io.IOException
java.io.IOExceptionpublic int CodeReal(java.io.InputStream inStream,
java.io.OutputStream outStream,
long outSize,
ICompressProgressInfo progress)
throws java.io.IOException
java.io.IOExceptionpublic int Code(java.io.InputStream inStream,
java.io.OutputStream outStream,
long outSize,
ICompressProgressInfo progress)
throws java.io.IOException
Code in interface ICompressCoderjava.io.IOExceptionpublic boolean SetDecoderProperties2(byte[] properties)
SetDecoderProperties2 in interface ICompressSetDecoderProperties2