4 writes to _OutputBuffer
mscorlib (4)
system\security\cryptography\cryptostream.cs (4)
287
_OutputBuffer
= finalBytes;
468
_OutputBuffer
= finalBytes;
724
_OutputBuffer
= null;
741
_OutputBuffer
= new byte[_OutputBlockSize];
43 references to _OutputBuffer
mscorlib (43)
system\security\cryptography\cryptostream.cs (43)
127
_stream.Write(
_OutputBuffer
, 0, _OutputBufferIndex);
146
if (
_OutputBuffer
!= null)
147
Array.Clear(
_OutputBuffer
, 0,
_OutputBuffer
.Length);
200
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, offset, _OutputBufferIndex);
205
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, offset, count);
206
Buffer.InternalBlockCopy(
_OutputBuffer
, count,
_OutputBuffer
, 0, _OutputBufferIndex - count);
267
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0, _InputBlockSize,
_OutputBuffer
, 0);
270
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, numOutputBytes);
274
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, bytesToDeliver);
276
Buffer.InternalBlockCopy(
_OutputBuffer
, bytesToDeliver,
_OutputBuffer
, 0, _OutputBufferIndex);
293
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, bytesToDeliver);
295
Buffer.InternalBlockCopy(
_OutputBuffer
, bytesToDeliver,
_OutputBuffer
, 0, _OutputBufferIndex);
298
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, _OutputBufferIndex);
370
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, offset, _OutputBufferIndex);
377
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, offset, count);
378
Buffer.InternalBlockCopy(
_OutputBuffer
, count,
_OutputBuffer
, 0, _OutputBufferIndex - count);
445
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0, _InputBlockSize,
_OutputBuffer
, 0);
449
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, numOutputBytes);
455
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, bytesToDeliver);
457
Buffer.InternalBlockCopy(
_OutputBuffer
, bytesToDeliver,
_OutputBuffer
, 0, _OutputBufferIndex);
475
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, bytesToDeliver);
477
Buffer.InternalBlockCopy(
_OutputBuffer
, bytesToDeliver,
_OutputBuffer
, 0, _OutputBufferIndex);
482
Buffer.InternalBlockCopy(
_OutputBuffer
, 0, buffer, currentOutputIndex, _OutputBufferIndex);
527
_stream.Write(
_OutputBuffer
, 0, _OutputBufferIndex);
534
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0, _InputBlockSize,
_OutputBuffer
, 0);
536
_stream.Write(
_OutputBuffer
, 0, numOutputBytes);
554
numOutputBytes = _Transform.TransformBlock(buffer, currentInputIndex, _InputBlockSize,
_OutputBuffer
, 0);
555
_stream.Write(
_OutputBuffer
, 0, numOutputBytes);
643
await _stream.WriteAsync(
_OutputBuffer
, 0, _OutputBufferIndex, cancellationToken).ConfigureAwait(false);
651
numOutputBytes = _Transform.TransformBlock(_InputBuffer, 0, _InputBlockSize,
_OutputBuffer
, 0);
653
await _stream.WriteAsync(
_OutputBuffer
, 0, numOutputBytes, cancellationToken).ConfigureAwait(false);
676
numOutputBytes = _Transform.TransformBlock(buffer, currentInputIndex, _InputBlockSize,
_OutputBuffer
, 0);
677
await _stream.WriteAsync(
_OutputBuffer
, 0, numOutputBytes, cancellationToken).ConfigureAwait(false);
720
if (
_OutputBuffer
!= null)
721
Array.Clear(
_OutputBuffer
, 0,
_OutputBuffer
.Length);