3 writes to _offset
System.Text.Json (3)
System\Text\Json\Serialization\StreamReadBufferState.cs (3)
47
_maxCount = _count =
_offset
= 0;
155
_offset
= 0;
173
_offset
= (byte)JsonConstants.Utf8Bom.Length;
3 references to _offset
System.Text.Json (3)
System\Text\Json\Serialization\StreamReadBufferState.cs (3)
54
public readonly ReadOnlySequence<byte> Bytes => new(_buffer.AsMemory(
_offset
, _count));
140
Buffer.BlockCopy(oldBuffer,
_offset
+ bytesConsumedInt, newBuffer, 0, _count);
151
Buffer.BlockCopy(_buffer,
_offset
+ bytesConsumedInt, _buffer, 0, _count);