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)
55public readonly ReadOnlySequence<byte> Bytes => new(_buffer.AsMemory(_offset, _count)); 142Buffer.BlockCopy(oldBuffer, _offset + bytesConsumedInt, newBuffer, 0, _count); 153Buffer.BlockCopy(_buffer, _offset + bytesConsumedInt, _buffer, 0, _count); 163_buffer.AsSpan(_offset, _count),