writeFloat

fun Buffer.writeFloat(value: Float)

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


inline fun ChunkBuffer.writeFloat(value: Float)
fun Output.writeFloat(value: Float, byteOrder: ByteOrder)
fun Output.writeFloat(value: Float)