5 writes to _offset
Microsoft.AspNetCore.OutputCaching (5)
FormatterBinaryReader.cs (5)
40
return 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)
25
public bool IsEOF =>
_offset
>= _length;
135
if (
_offset
> _length - bytes)
143
var s = Encoding.UTF8.GetString(MemoryMarshal.CreateReadOnlySpan(ref Unsafe.Add(ref _root,
_offset
), bytes));
151
if (
_offset
> _length - bytes)
162
if (
_offset
> _length - count)
170
var result = MemoryMarshal.CreateReadOnlySpan(ref Unsafe.Add(ref _root,
_offset
), count);
179
if (
_offset
> _length - count)
187
var result = _original.Slice(
_offset
, count);