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)
77
if (
_bytes
[_byteOffset + 1] != '?' ||
_bytes
[_byteOffset] != '<')
83
CheckUTF8DeclarationEncoding(
_bytes
, _byteOffset, _byteCount, declEnc, expectedEnc);
92
int count = _encoding.GetChars(
_bytes
, _byteOffset, _byteCount, _chars, 0);
94
_byteCount = s_validatingUTF8.GetBytes(_chars, 0, count,
_bytes
, 0);
97
if (
_bytes
[1] == '?' &&
_bytes
[0] == '<')
99
CheckUTF8DeclarationEncoding(
_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;
310
int read = _stream.Read(
_bytes
, _byteOffset + _byteCount, count);
328
if (
_bytes
!= null)
629
_byteCount = _stream.Read(
_bytes
, _byteCount, (_chars.Length - 1) * 2);
639
int charCount = _encoding.GetChars(
_bytes
, 0, _byteCount, _chars, 0);
640
_byteCount = Encoding.UTF8.GetBytes(_chars, 0, charCount,
_bytes
, 0);
646
Buffer.BlockCopy(
_bytes
, _byteOffset, buffer, offset, count);
668
_bytes
[max++] = (byte)b;
676
w =
_bytes
[max - 2] + (
_bytes
[max - 1] << 8);
680
w =
_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);