Skip to content

Commit 8c5bde6

Browse files
authored
Update UTF8.cs
1 parent 9502c38 commit 8c5bde6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Diff for: src/UTF8.cs

-12
Original file line numberDiff line numberDiff line change
@@ -1277,18 +1277,6 @@ private unsafe static (int utfadjust, int scalaradjust) calculateErrorPathadjust
12771277
}
12781278
return GetPointerToFirstInvalidByteScalar(pInputBuffer + processedLength, inputLength - processedLength, out utf16CodeUnitCountAdjustment, out scalarCountAdjustment);
12791279
}
1280-
public static void ToString(Vector128<byte> v)
1281-
{
1282-
Span<byte> b = stackalloc byte[16];
1283-
v.CopyTo(b);
1284-
Console.WriteLine(Convert.ToHexString(b));
1285-
}
1286-
public static void ToString(Vector128<sbyte> v)
1287-
{
1288-
Span<byte> b = stackalloc byte[16];
1289-
v.AsByte().CopyTo(b);
1290-
Console.WriteLine(Convert.ToHexString(b));
1291-
}
12921280
public unsafe static byte* GetPointerToFirstInvalidByteArm64(byte* pInputBuffer, int inputLength, out int utf16CodeUnitCountAdjustment, out int scalarCountAdjustment)
12931281
{
12941282
int processedLength = 0;

0 commit comments

Comments
 (0)