getIntLE

fun ByteArray.getIntLE(offset: Int, value: Int): Int

Writes value as a little-endian short into this ByteArray at the specified offset.


fun ByteArray.getIntLE(offset: Int): Int

Reads 4 bytes in little-endian order from this ByteArray starting at the given offset.

Return

the little-endian int value

Parameters

offset

the offset to read from