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