5 writes to _offset
Microsoft.AspNetCore.OutputCaching (5)
FormatterBinaryReader.cs (5)
40return Unsafe.Add(ref _root, _offset++); 144_offset += bytes; 155_offset += bytes; 171_offset += count; 188_offset += count;
8 references to _offset
Microsoft.AspNetCore.OutputCaching (8)
FormatterBinaryReader.cs (8)
25public bool IsEOF => _offset >= _length; 135if (_offset > _length - bytes) 143var s = Encoding.UTF8.GetString(MemoryMarshal.CreateReadOnlySpan(ref Unsafe.Add(ref _root, _offset), bytes)); 151if (_offset > _length - bytes) 162if (_offset > _length - count) 170var result = MemoryMarshal.CreateReadOnlySpan(ref Unsafe.Add(ref _root, _offset), count); 179if (_offset > _length - count) 187var result = _original.Slice(_offset, count);