Reads a Mathematica string as an array of bytes.
In contrast with GetString, this method strips the incoming (16-bit Unicode) character data into a single-byte representation. Characters that cannot be represented faithfully in single-byte form are replaced by the byte specified by the missing parameter. This method is primarily useful if you know the incoming data contains only ASCII characters and you want the data in the form of a byte array.
Exception Type | Condition |
---|---|
MathLinkException | If the waiting data cannot be read in this format, or on any other MathLink error. |
IMathLink Interface | Wolfram.NETLink Namespace | GetString