BinaryString Constructor (String, ArraySegmentByte, BinaryTextEncoding) |
Creates a new BinaryString.
Namespace:
Demo3D.IO
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
Syntaxpublic BinaryString(
string? str,
in ArraySegment<byte> bytes,
BinaryTextEncoding? encoding
)
Parameters
- str
- Type: SystemString
The string representation. - bytes
- Type: SystemArraySegmentByte
The string encoded in the encoding format. - encoding
- Type: Demo3D.IOBinaryTextEncoding
The encoding of the string.
Remarks
Either str or bytes needs to be non-null. If str is null then it
can be deduced from bytes so long as encoding is not null.
See Also