writeByteArray

Writes a byte array to the OutputStream

Since

0.1.0

Parameters

b

The byte array to write

Throws

If the offset or the length is out of bounds

If the length is negative


fun writeByteArray(b: ByteArray, off: Int, len: Int)(source)
fun writeByteArray(b: Array<Byte>, off: Int, len: Int)(source)

Writes a byte array to the OutputStream

Since

0.1.0

Parameters

b

The byte array to write

off

The offset to start writing

len

The length of the array to write

Throws

If the offset or the length is out of bounds

If the length is negative