3 writes to _length
System.Net.Http (3)
System\Net\Http\HttpContent.cs (3)
1036
_length
+= count;
1043
_length
+= buffer.Length;
1069
_length
= newLength;
11 references to _length
System.Net.Http (11)
System\Net\Http\HttpContent.cs (11)
981
public ArraySegment<byte> GetBuffer() => new ArraySegment<byte>(_buffer, 0,
_length
);
985
var arr = new byte[
_length
];
986
Buffer.BlockCopy(_buffer, 0, arr, 0,
_length
);
1023
Buffer.BlockCopy(currentBuffer, 0, newBuffer, 0,
_length
);
1034
EnsureCapacity(
_length
+ count);
1035
Buffer.BlockCopy(buffer, offset, _buffer,
_length
, count);
1041
EnsureCapacity(
_length
+ buffer.Length);
1042
buffer.CopyTo(new Span<byte>(_buffer,
_length
, buffer.Length));
1066
int newLength =
_length
+ 1;
1068
_buffer[
_length
] = value;
1075
public override long Length =>
_length
;