9 references to Utf8Char
System.Runtime.Numerics (9)
System\Number.BigInteger.cs (1)
878
BigIntegerToDecChars((
Utf8Char
*)ptr + valueDigits, base1E9Value, valueDigits);
System\Number.Polyfill.cs (8)
47
internal readonly struct Utf8Char(byte ch) : IUtfChar<
Utf8Char
>
52
public static
Utf8Char
CastFrom(byte value) => new(value);
53
public static
Utf8Char
CastFrom(char value) => new((byte)value);
54
public static
Utf8Char
CastFrom(int value) => new((byte)value);
55
public static
Utf8Char
CastFrom(uint value) => new((byte)value);
56
public static
Utf8Char
CastFrom(ulong value) => new((byte)value);
57
public static uint CastToUInt32(
Utf8Char
value) => value.value;
58
public bool Equals(
Utf8Char
other) => value == other.value;