getValue

open fun getValue(bytes: Array<Byte>): Long

Helper method to get the value as a Java long from a four-byte array

Return

the corresponding Java long value

Parameters

bytes

the array of bytes


open fun getValue(bytes: Array<Byte>, offset: Int): Long

Helper method to get the value as a Java long from four bytes starting at given array offset

Return

the corresponding Java long value

Parameters

bytes

the array of bytes

offset

the offset to start