4 writes to _byteOffset
System.Private.DataContractSerialization (4)
System\Xml\EncodingStreamWrapper.cs (4)
93
_byteOffset
= 0;
304
_byteOffset
= 0;
600
_byteOffset
= 0;
621
_byteOffset
+= count;
7 references to _byteOffset
System.Private.DataContractSerialization (7)
System\Xml\EncodingStreamWrapper.cs (7)
77
if (_bytes[
_byteOffset
+ 1] != '?' || _bytes[
_byteOffset
] != '<')
83
CheckUTF8DeclarationEncoding(_bytes,
_byteOffset
, _byteCount, declEnc, expectedEnc);
92
int count = _encoding.GetChars(_bytes,
_byteOffset
, _byteCount, _chars, 0);
285
_byteCount += _stream.ReadAtLeast(_bytes.AsSpan(
_byteOffset
+ _byteCount, count), count, throwOnEndOfStream: false);
620
_bytes.AsSpan(
_byteOffset
, count).CopyTo(buffer);
635
int max =
_byteOffset
+ _byteCount;