writeShort

fun Buffer.writeShort(value: Short): Unit

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): Unit

Deprecated: IoBuffer is deprecated. Use Memory or Output instead.

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