decode

fun decode(limit: Int = 10000, data: ByteArray, offset: Int): Array<KeyIndex>

Decodes number of Key Indexes from the given Data from the given offset. This will decode as many Indexes as possible, until the end of data is reached.

Parameters

limit

: Maximum number of Key Indexes to decode.

data

: The data from where the indexes should be read.

offset

: The offset from where to read the indexes.