commonMain.ag.granular.tiff.compression.CompressionDecoder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiffany-jvm Show documentation
Show all versions of tiffany-jvm Show documentation
A library for parsing Tagged Image File Format (Tiff) files
The newest version!
package ag.granular.tiff.compression
import ag.granular.io.ByteOrder
/**
* Compression decoder interface
*/
interface CompressionDecoder {
/**
* Decode the bytes
*
* @param bytes
* bytes to decode
* @param byteOrder
* byte order
* @return decoded bytes
*/
fun decode(bytes: ByteArray, byteOrder: ByteOrder): ByteArray
}