1 write to _bytes
dotnet-svcutil-lib (1)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (1)
331_bytes = new byte[BufferLength * 4];
30 references to _bytes
dotnet-svcutil-lib (30)
FrameworkFork\System.Runtime.Serialization\System\Xml\EncodingStreamWrapper.cs (30)
77if (_bytes[_byteOffset + 1] != '?' || _bytes[_byteOffset] != '<') 83CheckUTF8DeclarationEncoding(_bytes, _byteOffset, _byteCount, declEnc, expectedEnc); 92int count = _encoding.GetChars(_bytes, _byteOffset, _byteCount, _chars, 0); 94_byteCount = s_validatingUTF8.GetBytes(_chars, 0, count, _bytes, 0); 97if (_bytes[1] == '?' && _bytes[0] == '<') 99CheckUTF8DeclarationEncoding(_bytes, 0, _byteCount, declEnc, expectedEnc); 234_bytes[0] = (byte)b4; 238_bytes[0] = (byte)b3; 239_bytes[1] = (byte)b4; 243_bytes[0] = (byte)b1; 244_bytes[1] = (byte)b2; 245_bytes[2] = (byte)b3; 246_bytes[3] = (byte)b4; 310int read = _stream.Read(_bytes, _byteOffset + _byteCount, count); 328if (_bytes != null) 629_byteCount = _stream.Read(_bytes, _byteCount, (_chars.Length - 1) * 2); 639int charCount = _encoding.GetChars(_bytes, 0, _byteCount, _chars, 0); 640_byteCount = Encoding.UTF8.GetBytes(_chars, 0, charCount, _bytes, 0); 646Buffer.BlockCopy(_bytes, _byteOffset, buffer, offset, count); 668_bytes[max++] = (byte)b; 676w = _bytes[max - 2] + (_bytes[max - 1] << 8); 680w = _bytes[max - 1] + (_bytes[max - 2] << 8); 688_bytes[max++] = (byte)b1; 689_bytes[max++] = (byte)b2; 723_byteCount = _enc.GetBytes(_chars, 0, charCount, _bytes, 0, false); 724_stream.Write(_bytes, 0, _byteCount);