 | Utf8String(ReadOnlySpanByte) Constructor |
Initializes a new instance of the
Utf8String class using the specified
utf-8 span.
Namespace: Ookii.Jumbo.IOAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic Utf8String(
ReadOnlySpan<byte> value
)
Public Sub New (
value As ReadOnlySpan(Of Byte)
)
public:
Utf8String(
ReadOnlySpan<unsigned char> value
)
new :
value : ReadOnlySpan<byte> -> Utf8String
Parameters
- value ReadOnlySpanByte
- A span containing a utf-8 encoded string.
Remarks Caution |
---|
This constructor does not check if the span contains valid utf-8 data.
|
The contents of the span will be copied into the new instance.
See Also