LZO

open class LZO(val headerType: LZO.HeaderType = HeaderType.SHORT) : CompressionMethod

Inheritors

Constructors

Link copied to clipboard
constructor(headerType: LZO.HeaderType = HeaderType.SHORT)

Types

Link copied to clipboard
object Companion : LZO
Link copied to clipboard
data class HeaderLong(var version: Int = 4160, var libVersion: Int = 8352, var versionNeeded: Int = 2368, var method: Int = 3, var level: Int = 9, var flags: Int = 0, var filter: Int = 0, var mode: Int = 33188, var mtime: Int = 1635636518, var GMTdiff: Int = 0, var name: String = "", var checksum: Int = 0, var uncompressedSize: Int = 0, var compressedSize: Int = 0, var checksumUncompressed: Int = 0, var checksumCompressed: Int = 0)
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun compress(i: BitReader, o: AsyncOutputStream, context: CompressionContext)
Link copied to clipboard
suspend fun CompressionMethod.compress(i: AsyncInputStream, o: AsyncOutputStream, context: CompressionContext = CompressionContext())
Link copied to clipboard
suspend fun CompressionMethod.compressStream(input: AsyncInputStream, context: CompressionContext = CompressionContext(), bufferSize: Int = AsyncByteArrayDequeChunked.DEFAULT_MAX_SIZE): AsyncInputStream
Link copied to clipboard
open suspend override fun uncompress(reader: BitReader, out: AsyncOutputStream)
Link copied to clipboard
suspend fun CompressionMethod.uncompressStream(input: AsyncInputStream, bufferSize: Int = AsyncByteArrayDequeChunked.DEFAULT_MAX_SIZE): AsyncInputStream