toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.compression.lzo
/
LzoRawCompressor
Lzo
Raw
Compressor
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