JsonValueおよびUtf8Stringが保持する配列をArraySegmentからReadOnlyMemoryに変更

This commit is contained in:
momoma-null
2026-06-10 15:54:38 +09:00
committed by hadashiA
parent 39531b1ce6
commit 5860a7940e
15 changed files with 108 additions and 71 deletions

View File

@@ -11,7 +11,7 @@ namespace UniJSON
{
public static void WriteTo(this Utf8String src, Stream dst)
{
dst.Write(src.Bytes.Array, src.Bytes.Offset, src.Bytes.Count);
dst.Write(src.Bytes.Span);
}
public static Utf8Iterator GetFirst(this Utf8String src)