fun writeBytes(buffer: ByteArray, size: Int, offset: Int): Unit
Writes size bytes of buffer starting from offset into the stream.