19 writes to _position
NuGet.Packaging (19)
Signing\DerEncoding\DerSequenceReader.cs (19)
49
_position
= offset;
72
_position
= offset;
121
_position
+= contentLength;
176
_position
+= contentLength;
196
_position
+= totalLength;
210
_position
+= length;
255
_position
++;
260
_position
+= contentLength;
325
_position
+= contentLength;
340
_position
+= contentLength;
355
_position
+= totalLength;
376
_position
+= contentLength;
389
_position
+= contentLength;
422
_position
+= contentLength;
435
_position
+= contentLength;
481
_position
+= contentLength;
519
_position
+= contentLength;
529
_position
++;
574
_position
+= bytesConsumed;
27 references to _position
NuGet.Packaging (27)
Signing\DerEncoding\DerSequenceReader.cs (27)
75
Debug.Assert(_end - contentLength >=
_position
);
79
_end =
_position
+ contentLength;
89
get { return
_position
< _end; }
97
byte tag = _data[
_position
];
114
return HasData && _data[
_position
] == expectedTag;
168
var childReader = new DerSequenceReader(true, _data,
_position
, _end -
_position
);
188
int contentLength = ScanContentLength(_data,
_position
+ 1, _end, out lengthLength);
191
Debug.Assert(_end - totalLength >=
_position
);
194
Buffer.BlockCopy(_data,
_position
, encodedValue, 0, totalLength);
209
bool value = _data[
_position
] != 0;
248
byte unusedBits = _data[
_position
];
258
Buffer.BlockCopy(_data,
_position
, octets, 0, contentLength);
286
byte firstByte = _data[
_position
];
305
byte current = _data[
_position
+ i];
339
string str = System.Text.Encoding.UTF8.GetString(_data,
_position
, contentLength);
348
CheckTag(expected, _data,
_position
);
351
int contentLength = ScanContentLength(_data,
_position
+ 1, _end, out lengthLength);
354
DerSequenceReader reader = new DerSequenceReader(expected, _data,
_position
, totalLength);
375
string str = System.Text.Encoding.ASCII.GetString(_data,
_position
, contentLength);
388
string ia5String = System.Text.Encoding.ASCII.GetString(_data,
_position
, contentLength);
419
var decodedTime = Encoding.ASCII.GetString(_data,
_position
, contentLength);
434
string str = System.Text.Encoding.BigEndianUnicode.GetString(_data,
_position
, contentLength);
480
string decodedTime = System.Text.Encoding.ASCII.GetString(_data,
_position
, contentLength);
517
Buffer.BlockCopy(_data,
_position
, octets, 0, contentLength);
528
CheckTag(expected, _data,
_position
);
572
int answer = ScanContentLength(_data,
_position
, _end, out bytesConsumed);