writeBytes

open fun writeBytes(    buffer: ByteArray,     size: Int = buffer.size,     offset: Int = 0)

Writes size bytes of buffer starting from offset into the stream.