StringToBytes
Previous  Next

Returns an array of bytes from a string, using the Binary File object encoding.
Syntax: StringToBytes (String As String) As Byte()

Example:
Dim buffer(0) As Byte
buffer() = bin.StringToBytes("SomeString")