<PackageReference Include="System.Text.Encodings.Web" Version="7.0.0-preview.4.22229.4" />

SpanUtility

static class SpanUtility
public static bool IsValidIndex<T>(ReadOnlySpan<T> span, int index)

public static bool IsValidIndex<T>(Span<T> span, int index)

public static bool TryWriteBytes(Span<byte> span, byte a, byte b, byte c, byte d)

public static bool TryWriteBytes(Span<byte> span, byte a, byte b, byte c, byte d, byte e)

public static bool TryWriteBytes(Span<byte> span, byte a, byte b, byte c, byte d, byte e, byte f)

public static bool TryWriteChars(Span<char> span, char a, char b, char c, char d)

public static bool TryWriteChars(Span<char> span, char a, char b, char c, char d, char e)

public static bool TryWriteChars(Span<char> span, char a, char b, char c, char d, char e, char f)

public static bool TryWriteUInt64LittleEndian(Span<byte> span, int offset, ulong value)