31 references to SizeOrLength
System.Text.Json (31)
System\Text\Json\Document\JsonDocument.cs (29)
140return row.SizeOrLength; 151return row.SizeOrLength; 162int arrayLength = row.SizeOrLength; 240return _utf8Json.Slice(row.Location - 1, row.SizeOrLength + 2); 243return _utf8Json.Slice(row.Location, row.SizeOrLength); 249return _utf8Json.Slice(start, row.Location - start + row.SizeOrLength); 268end = row.Location + row.SizeOrLength; 281end = row.Location + row.SizeOrLength; 301ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 354ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 395return _utf8Json.Span.Slice(row.Location, row.SizeOrLength); 407ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 428ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 450ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 472ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 494ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 516ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 538ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 560ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 582ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 604ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 626ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 648ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 670ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 705ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 740ReadOnlySpan<byte> segment = data.Slice(row.Location, row.SizeOrLength); 818writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.SizeOrLength).Span); 849writer.WriteNumberValue(_utf8Json.Slice(row.Location, row.SizeOrLength).Span); 885int length = row.SizeOrLength;
System\Text\Json\Document\JsonDocument.TryGetProperty.cs (2)
75if (row.SizeOrLength >= minBytes) 166ReadOnlySpan<byte> currentPropertyName = documentSpan.Slice(row.Location, row.SizeOrLength);