Class Utf8Span
- Namespace
- MarymoorStudios.Core.Steamworks
- Assembly
- MarymoorStudios.Core.Steamworks.dll
public static class Utf8Span
- Inheritance
-
Utf8Span
- Inherited Members
Methods
FromString(string, Span<byte>)
Implicitly converts a string to encoded UTF8 bytes.
public static void FromString(string s, Span<byte> span)
Parameters
ToString(ReadOnlySpan<byte>)
Implicitly converts the encoded bytes to a string.
public static string ToString(ReadOnlySpan<byte> span)
Parameters
span
ReadOnlySpan<byte>The value to convert.