binary-streams / loggersoft.kotlin.streams / AbstractStream / write

write

infix fun <reified T : Any> write(value: T): Any

Writes value to stream with type of template. Supported types are: Byte, Short, Int, Long, Float, Double, String, ByteArray.

Throw
IllegalArgumentException, java.io.IOException