5 writes to _lastBufferOffset
System.Net.Http (5)
System\Net\Http\HttpContent.cs (5)
895
_lastBufferOffset
= newBuffer.Length;
912
_lastBufferOffset
= offset + buffer.Length;
972
_lastBufferOffset
= _totalLength;
986
_totalLength =
_lastBufferOffset
= buffer.Length;
1004
_lastBufferOffset
= buffer.Length;
9 references to _lastBufferOffset
System.Net.Http (9)
System\Net\Http\HttpContent.cs (9)
879
Debug.Assert(
_lastBufferOffset
== _totalLength);
880
Debug.Assert(
_lastBufferOffset
<= _lastBuffer.Length);
907
int offset =
_lastBufferOffset
;
945
int currentTotalCapacity = _totalLength -
_lastBufferOffset
+ lastBufferCapacity;
979
Debug.Assert(
_lastBufferOffset
== 0);
997
Span<byte> remainingInCurrentBuffer = _lastBuffer.AsSpan(
_lastBufferOffset
);
1060
Debug.Assert(
_lastBufferOffset
<= _lastBuffer.Length);
1061
Debug.Assert(
_lastBufferOffset
<= destination.Length);
1063
_lastBuffer.AsSpan(0,
_lastBufferOffset
).CopyTo(destination);