ktor-io / io.ktor.utils.io.core / writeFloat

writeFloat

fun Buffer.writeFloat(value: Float): Unit

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 IoBuffer.writeFloat(value: Float): Unit
Deprecated: IoBuffer is deprecated. Use Memory or Output instead.


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