BinaryStream.Constructor(s as String)
From Xojo Documentation
Constructor
Creates a BinaryStream from a String.
Notes
All BinaryStream functions except writing and setting the length are supported.
Since the string is immutable, the BinaryStream behavior is read-only and the write methods of the stream produce an error.