ByteWriter

interface ByteWriter

Byte Writer

Defines a low-level stream writer that writes bytes from the given buffer out to the stream.

Author

Elizabeth Paige Harper - https://github.com/foxcapades

Since

1.0.0

Functions

Link copied to clipboard
abstract fun write(buffer: ByteArray, offset: Int = 0, len: Int = buffer.size - offset)

Writes bytes to the stream from the given buffer starting at the given offset position for a maximum of len bytes.