Js5Compression

Functions

Link copied to clipboard
fun compress(input: ByteBuf, type: Js5CompressionType, key: SymmetricKey = SymmetricKey.ZERO): ByteBuf
Link copied to clipboard
fun compressBest(input: ByteBuf, enableLzma: Boolean = false, enableUncompressedEncryption: Boolean = false, key: SymmetricKey = SymmetricKey.ZERO): ByteBuf
Link copied to clipboard
fun isEmptyLoc(buf: ByteBuf): Boolean
Link copied to clipboard
fun uncompress(input: ByteBuf, key: SymmetricKey = SymmetricKey.ZERO): ByteBuf
Link copied to clipboard
fun uncompressIfKeyValid(input: ByteBuf, key: SymmetricKey): ByteBuf?
Link copied to clipboard
fun uncompressUnlessEncrypted(input: ByteBuf): ByteBuf?