writeInt

fun Buffer.writeInt(value: Int)

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


inline fun ChunkBuffer.writeInt(value: Int)
fun Output.writeInt(value: Int, byteOrder: ByteOrder)
fun Output.writeInt(value: Int)