1 write to bytes
System.Runtime.Serialization (1)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (1)
452
bytes
= new byte[BufferLength * 4];
20 references to bytes
System.Runtime.Serialization (20)
System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs (20)
215
byteCount = this.stream.Read(
bytes
, byteCount, (chars.Length - 1) * 2);
227
int charCount = this.encoding.GetChars(
bytes
, 0, byteCount, chars, 0);
228
byteCount = Encoding.UTF8.GetBytes(chars, 0, charCount,
bytes
, 0);
236
Buffer.BlockCopy(
bytes
, byteOffset, buffer, offset, count);
285
byteCount = enc.GetBytes(chars, 0, charCount,
bytes
, 0, false);
286
this.stream.Write(
bytes
, 0, byteCount);
407
bytes
[max++] = (byte)b;
415
w =
bytes
[max - 2] + (
bytes
[max - 1] << 8);
419
w =
bytes
[max - 1] + (
bytes
[max - 2] << 8);
430
bytes
[max++] = (byte)b1;
431
bytes
[max++] = (byte)b2;
447
if (
bytes
!= null)
462
int read = stream.Read(
bytes
, byteOffset + byteCount, count);
495
int count = this.encoding.GetChars(
bytes
, byteOffset, byteCount, chars, 0);
497
byteCount = ValidatingUTF8.GetBytes(chars, 0, count,
bytes
, 0);
540
bytes
[0] = (byte)b1;
546
bytes
[0] = (byte)b1;
547
bytes
[1] = (byte)b2;