66 {
67 nint num = 0;
68 Vector128<byte> mask =
Vector128.
Create(
byte.MaxValue,
byte.MaxValue, 0,
byte.MaxValue,
byte.MaxValue,
byte.MaxValue, 1,
byte.MaxValue,
byte.MaxValue,
byte.MaxValue, 2,
byte.MaxValue,
byte.MaxValue,
byte.MaxValue, 3,
byte.MaxValue);
69 Vector128<byte> value = ((casing ==
Casing.Upper) ?
Vector128.
Create((
byte)48, (byte)49, (
byte)50, (byte)51, (
byte)52, (byte)53, (
byte)54, (byte)55, (
byte)56, (byte)57, (
byte)65, (byte)66, (
byte)67, (byte)68, (
byte)69, (byte)70) :
Vector128.
Create((
byte)48, (byte)49, (
byte)50, (byte)51, (
byte)52, (byte)53, (
byte)54, (byte)55, (
byte)56, (byte)57, (
byte)97, (byte)98, (
byte)99, (byte)100, (
byte)101, (byte)102));
70 do
71 {
79 num += 4;
80 }
81 while (num <
bytes.Length - 3);
82 for (; num <
bytes.Length; num++)
83 {
85 }
86 }
static void ToCharsBuffer(byte value, Span< char > buffer, int startingIndex=0, Casing casing=Casing.Upper)
static Vector128< byte > Create(byte value)
static unsafe Vector128< byte > CreateScalarUnsafe(byte value)
static Vector128< sbyte > ShiftRightLogical128BitLane(Vector128< sbyte > value, byte numBytes)
static Vector128< byte > Or(Vector128< byte > left, Vector128< byte > right)
static Vector128< byte > And(Vector128< byte > left, Vector128< byte > right)
static Vector128< short > ShiftRightLogical(Vector128< short > value, Vector128< short > count)
static Vector128< sbyte > Shuffle(Vector128< sbyte > value, Vector128< sbyte > mask)