Initializes the new instance from a string, with a specified encoding.
This constructor converts the text of its string argument to
bytes according to the the specified character encoding. The name
of the character encoding should be one that is recognized by the
.NET Framework Class Library's
System.Text.Encoding.GetEncoding() method. Typically, the
character encoding is specified using a registered charset identifier.
| Exception Type | Condition |
|---|---|
| NotSupportedException | the charset identifier is not recognized as a supported character encoding |
ByteString Class | Hunny.Base Namespace | ByteString Constructor Overload List