5 writes to _buffer
mscorlib (5)
system\io\memorystream.cs (5)
76
_buffer
= new byte[capacity];
92
_buffer
= buffer;
119
_buffer
= buffer;
303
_buffer
= newBuffer;
306
_buffer
= null;
22 references to _buffer
mscorlib (22)
system\io\memorystream.cs (22)
217
return
_buffer
;
226
buffer = new ArraySegment<byte>(
_buffer
, offset:_origin, count:(_length - _origin));
234
return
_buffer
;
263
return (int)(
_buffer
[pos-4] |
_buffer
[pos-3] << 8 |
_buffer
[pos-2] << 16 |
_buffer
[pos-1] << 24);
302
if (_length > 0) Buffer.InternalBlockCopy(
_buffer
, 0, newBuffer, 0, _length);
363
buffer[offset + byteCount] =
_buffer
[_position + byteCount];
366
Buffer.InternalBlockCopy(
_buffer
, _position, buffer, offset, n);
416
return
_buffer
[_position++];
467
return destination.WriteAsync(
_buffer
, pos, n, cancellationToken);
472
memStrDest.Write(
_buffer
, pos, n);
544
Array.Clear(
_buffer
, _length, newLength - _length);
553
Buffer.InternalBlockCopy(
_buffer
, _origin, copy, 0, _length - _origin);
584
Array.Clear(
_buffer
, _length, i - _length);
587
if ((count <= 8) && (buffer !=
_buffer
))
591
_buffer
[_position + byteCount] = buffer[offset + byteCount];
594
Buffer.InternalBlockCopy(buffer, offset,
_buffer
, _position, count);
647
Array.Clear(
_buffer
, _length, _position - _length);
650
_buffer
[_position++] = value;
661
stream.Write(
_buffer
, _origin, _length - _origin);