write

open fun write(data: Int)

Writes a single byte to the output stream.


open fun write(@NonNull data: Array<Byte>)

Writes a byte array to the output stream using the configured writing strategy.