All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ag.granular.tiff.compression.CompressionDecoder.kt Maven / Gradle / Ivy

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy