writeUIntLe
Writes four bytes containing int, in the little-endian order, to this sink.
Parameters
int
the unsigned integer to be written.
Throws
when the sink is closed.
Samples
import kotlinx.io.*
import kotlin.test.*
fun main() {
//sampleStart
val buffer = Buffer()
buffer.writeUIntLe(0x12345678U)
assertEquals(0x78563412U, buffer.readUInt())
//sampleEnd
}