ktor-io / io.ktor.utils.io.core / writeLong

writeLong

fun Buffer.writeLong(value: Long): Unit

Write a long integer or fail if not enough space available for writing. The numeric value is encoded in the network order (Big Endian).

inline fun ChunkBuffer.writeLong(value: Long): Unit
fun Output.writeLong(value: Long, byteOrder: ByteOrder): Unit
fun Output.writeLong(value: Long): Unit