korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-compression
/
korlibs.compression.lzo
/
LzoRawCompressor
Lzo
Raw
Compressor
@
ExperimentalStdlibApi
object
LzoRawCompressor
Members
Properties
LAST_
LITERAL_
SIZE
Link copied to clipboard
const
val
LAST_LITERAL_SIZE
:
Int
=
5
MAX_
TABLE_
SIZE
Link copied to clipboard
const
val
MAX_TABLE_SIZE
:
Int
MIN_
MATCH
Link copied to clipboard
const
val
MIN_MATCH
:
Int
=
4
Functions
compress
Link copied to clipboard
fun
compress
(
inputBase
:
ByteArray
,
inputAddress
:
Int
,
inputLength
:
Int
,
outputBase
:
ByteArray
,
outputAddress
:
Int
,
maxOutputLength
:
Int
,
table
:
IntArray
=
IntArray(MAX_TABLE_SIZE)
)
:
Int
max
Compressed
Length
Link copied to clipboard
fun
maxCompressedLength
(
sourceLength
:
Int
)
:
Int