Xojo.IO.BinaryStream.Write
From Xojo Documentation
Method
Xojo.IO.BinaryStream.Write(block As Xojo.Core.MemoryBlock)
Supported for all project types and targets.
Supported for all project types and targets.
Writes the bytes in the memoryblock. Raises an exception if the stream is not writable or the MemoryBlock has an unknown size.