10 references to MaxEncodedSize
System.ServiceModel (10)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
758
messageOffset += IntEncoder.
MaxEncodedSize
;
System\ServiceModel\Channels\FramingEncoders.cs (1)
194
public const int MaxMessageFrameSize = 1 + IntEncoder.
MaxEncodedSize
;
System\ServiceModel\Channels\SingletonConnectionReader.cs (8)
1387
this.chunkBuffer = new byte[IntEncoder.
MaxEncodedSize
];
1511
if (int.MaxValue - chunkBytesRemaining >= IntEncoder.
MaxEncodedSize
)
1513
bytesToRead = Math.Min(count, chunkBytesRemaining + IntEncoder.
MaxEncodedSize
);
1541
if (count < IntEncoder.
MaxEncodedSize
)
1550
int bytesRead = ReadCore(buffer, offset, IntEncoder.
MaxEncodedSize
);
1641
int.MaxValue, settings.BufferManager, envelopeStartBytes.Length + IntEncoder.
MaxEncodedSize
);
1681
this.encodedSize = new byte[IntEncoder.
MaxEncodedSize
];
1788
int.MaxValue, this.bufferManager, envelopeStartBytes.Length + IntEncoder.
MaxEncodedSize
);