18 writes to _InputBufferIndex
mscorlib (18)
system\security\cryptography\cryptostream.cs (18)
234
_InputBufferIndex
= 0;
237
_InputBufferIndex
= amountRead;
244
_InputBufferIndex
= numIgnoredBytes;
265
_InputBufferIndex
+= amountRead;
268
_InputBufferIndex
= 0;
408
_InputBufferIndex
= 0;
412
_InputBufferIndex
= amountRead;
420
_InputBufferIndex
= numIgnoredBytes;
443
_InputBufferIndex
+= amountRead;
446
_InputBufferIndex
= 0;
515
_InputBufferIndex
= _InputBlockSize;
521
_InputBufferIndex
+= count;
538
_InputBufferIndex
= 0;
563
_InputBufferIndex
+= bytesToWrite;
628
_InputBufferIndex
= _InputBlockSize;
636
_InputBufferIndex
+= count;
655
_InputBufferIndex
= 0;
687
_InputBufferIndex
+= bytesToWrite;
33 references to _InputBufferIndex
mscorlib (33)
system\security\cryptography\cryptostream.cs (33)
122
byte[] finalBytes = _Transform.TransformFinalBlock(_InputBuffer, 0,
_InputBufferIndex
);
231
Buffer.InternalBlockCopy(_InputBuffer, 0, tempInputBuffer, 0,
_InputBufferIndex
);
232
amountRead =
_InputBufferIndex
;
233
amountRead += _stream.Read(tempInputBuffer,
_InputBufferIndex
, numWholeBlocksInBytes -
_InputBufferIndex
);
261
while (
_InputBufferIndex
< _InputBlockSize) {
262
amountRead = _stream.Read(_InputBuffer,
_InputBufferIndex
, _InputBlockSize -
_InputBufferIndex
);
284
byte[] finalBytes = _Transform.TransformFinalBlock(_InputBuffer, 0,
_InputBufferIndex
);
405
Buffer.InternalBlockCopy(_InputBuffer, 0, tempInputBuffer, 0,
_InputBufferIndex
);
406
amountRead =
_InputBufferIndex
;
407
amountRead += await _stream.ReadAsync(tempInputBuffer,
_InputBufferIndex
, numWholeBlocksInBytes -
_InputBufferIndex
, cancellationToken).ConfigureAwait(false);
438
while (
_InputBufferIndex
< _InputBlockSize)
440
amountRead = await _stream.ReadAsync(_InputBuffer,
_InputBufferIndex
, _InputBlockSize -
_InputBufferIndex
, cancellationToken).ConfigureAwait(false);
465
byte[] finalBytes = _Transform.TransformFinalBlock(_InputBuffer, 0,
_InputBufferIndex
);
509
if (
_InputBufferIndex
> 0) {
510
if (count >= _InputBlockSize -
_InputBufferIndex
) {
512
Buffer.InternalBlockCopy(buffer, offset, _InputBuffer,
_InputBufferIndex
, _InputBlockSize -
_InputBufferIndex
);
513
currentInputIndex += (_InputBlockSize -
_InputBufferIndex
);
514
bytesToWrite -= (_InputBlockSize -
_InputBufferIndex
);
520
Buffer.InternalBlockCopy(buffer, offset, _InputBuffer,
_InputBufferIndex
, count);
533
if (
_InputBufferIndex
== _InputBlockSize) {
620
if (
_InputBufferIndex
> 0)
622
if (count >= _InputBlockSize -
_InputBufferIndex
)
625
Buffer.InternalBlockCopy(buffer, offset, _InputBuffer,
_InputBufferIndex
, _InputBlockSize -
_InputBufferIndex
);
626
currentInputIndex += (_InputBlockSize -
_InputBufferIndex
);
627
bytesToWrite -= (_InputBlockSize -
_InputBufferIndex
);
635
Buffer.InternalBlockCopy(buffer, offset, _InputBuffer,
_InputBufferIndex
, count);
649
if (
_InputBufferIndex
== _InputBlockSize)