3 writes to _offset
System.Text.Json (3)
System\Text\Json\Serialization\StreamReadBufferState.cs (3)
47
_maxCount = _count =
_offset
= 0;
157
_offset
= 0;
183
_offset
= (byte)JsonConstants.Utf8Bom.Length;
4 references to _offset
System.Text.Json (4)
System\Text\Json\Serialization\StreamReadBufferState.cs (4)
55
public readonly ReadOnlySequence<byte> Bytes => new(_buffer.AsMemory(
_offset
, _count));
142
Buffer.BlockCopy(oldBuffer,
_offset
+ bytesConsumedInt, newBuffer, 0, _count);
153
Buffer.BlockCopy(_buffer,
_offset
+ bytesConsumedInt, _buffer, 0, _count);
163
_buffer.AsSpan(
_offset
, _count),