3 writes to _offset
System.Text.Json (3)
System\Text\Json\Serialization\ReadBufferState.cs (3)
47_maxCount = _count = _offset = 0; 160_offset = 0; 178_offset = (byte)JsonConstants.Utf8Bom.Length;
3 references to _offset
System.Text.Json (3)
System\Text\Json\Serialization\ReadBufferState.cs (3)
54public readonly ReadOnlySpan<byte> Bytes => _buffer.AsSpan(_offset, _count); 145Buffer.BlockCopy(oldBuffer, _offset + bytesConsumed, newBuffer, 0, _count); 156Buffer.BlockCopy(_buffer, _offset + bytesConsumed, _buffer, 0, _count);