public interface ICompressed
Modifier and Type | Method and Description |
---|---|
int |
decompress(ByteArray destination,
ByteArray tempBuffer)
Decompress the data stored in this ICompressed and place it in the destination.
|
int |
decompress(IntArray destination,
ByteArray tempBuffer)
Decompress the data stored in this ICompressed and place it in the destination.
|
int decompress(ByteArray destination, ByteArray tempBuffer) throws IOException
destination
- the destination ByteArray to write the data to. It is NOT cleared
before being written to.tempBuffer
- an optional temporary ByteArray for the object to use during decompression.
It is not necessary but if you do not provide it the ICompressed may have to create and use
one which may not be as efficient.IOException
int decompress(IntArray destination, ByteArray tempBuffer) throws IOException
destination
- the destination IntArray to write the data to. It is NOT cleared
before being written to.tempBuffer
- an optional temporary ByteArray for the object to use during decompression.
It is not necessary but if you do not provide it the ICompressed may have to create and use
one which may not be as efficient.IOException