public abstract class Decoder extends Compression
| Constructor and Description |
|---|
Decoder() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
decode(java.nio.ByteBuffer dst,
java.nio.channels.ReadableByteChannel src)
Decode data.
|
beginProcessing, endProcessing, name, processingTime, rateIn, rateOut, reset, totalIn, totalOutpublic abstract int decode(java.nio.ByteBuffer dst,
java.nio.channels.ReadableByteChannel src)
throws java.io.IOException
dst - The ByteBuffer receiving the decoded bytes.src - The ReadableByteChannel providing the encoded
bytes.-1 if the end of the
encoded stream has been reached.java.io.IOException - if an I/O error occurs.