8 writes to offset
Microsoft.AspNetCore.OutputCaching (8)
FormatterBinaryWriter.cs (8)
29offset = length = 0; 68Unsafe.Add(ref root, offset++) = value; 95offset += bytes; 115offset = 0; 128length = offset = 0; 137Unsafe.Add(ref root, offset++) = value; 185offset += value.Length; 202offset += toWrite;
9 references to offset
Microsoft.AspNetCore.OutputCaching (9)
FormatterBinaryWriter.cs (9)
39return MemoryMarshal.CreateSpan(ref Unsafe.Add(ref root, offset), length - offset); 50Debug.Assert(length == 0 && offset == 0); 55Debug.Assert(offset >= 0 && offset <= length); 66if (offset < length) 91if (bytes <= length - offset) 127target.Advance(offset); 182else if ((offset + value.Length) <= length)