binary-streams / loggersoft.kotlin.streams / kotlin.ULong

Extensions for kotlin.ULong

toBytes

Writes this value as bytes to buffer byte array starting from offset with specified byteOrder.

fun ULong.toBytes(buffer: ByteArray, bytes: Int = 8, byteOrder: ByteOrder = nativeByteOrder, offset: Int = 0): Unit