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)
77if (_bytes[_byteOffset + 1] != '?' || _bytes[_byteOffset] != '<') 83CheckUTF8DeclarationEncoding(_bytes, _byteOffset, _byteCount, declEnc, expectedEnc); 92int 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); 635int max = _byteOffset + _byteCount;