writeShort

fun Buffer.writeShort(value: Short)

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


inline fun IoBuffer.writeShort(value: Short)
fun Output.writeShort(value: Short, byteOrder: ByteOrder)
fun Output.writeShort(value: Short)