writeULongLe

Writes eight bytes containing long, in the little-endian order, to this sink.

Parameters

long

the unsigned long integer to be written.

Throws

when the sink is closed.

Samples

import kotlinx.io.*
import kotlin.test.*

fun main() { 
   //sampleStart 
   val buffer = Buffer()
buffer.writeULongLe(0x123456789ABCDEF0U)
assertEquals(0xF0DEBC9A78563412U, buffer.readULong()) 
   //sampleEnd
}