Hunny Software Library Reference

ByteString Constructor (String)

Initializes the new instance from a string.

[Visual Basic]
Overloads Public Sub New( _
   ByVal str As String _
)
[C#]
public ByteString(
   string str
);

Parameters

str
string value

Remarks

The string should contain only characters with code point values less than 128 (that is, ASCII characters). This constructor is frequently used to create ByteString instances that contain keywords used in MIME, such as "Content-Type".

See Also

ByteString Class | Hunny.Base Namespace | ByteString Constructor Overload List