Xojo.IO.BinaryStream.Constructor(mb As MemoryBlock)
From Xojo Documentation
Revision as of 18:03, 11 August 2019 by Gperlman
Creates a BinaryStream from a MemoryBlock.
A BinaryStream created using a MemoryBlock will automatically re-size the MemoryBlock as needed to contain any additional data written to the stream.
Create binary data from an Image in the iOS project: