putLong

open fun putLong(value: Long, buf: Array<Byte>, offset: Int)

put the value as four bytes in big endian byte order.

Parameters

value

the Java long to convert to bytes

buf

the output buffer

offset

The offset within the output buffer of the first byte to be written. must be non-negative and no larger than buf.length-4


open fun putLong(buf: Array<Byte>, offset: Int)