ktor-io / io.ktor.utils.io.core / writeDouble

writeDouble

fun Buffer.writeDouble(value: Double): 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.writeDouble(value: Double): Unit
Deprecated: IoBuffer is deprecated. Use Memory or Output instead.


fun Output.writeDouble(value: Double, byteOrder: ByteOrder): Unit
fun Output.writeDouble(value: Double): Unit