13 references to IntEncoder
dotnet-svcutil-lib (13)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (6)
392dictionarySize += IntEncoder.GetEncodedSize(utf8ValueSize) + utf8ValueSize; 423offset += IntEncoder.Encode(utf8ValueSize, buffer, offset); 430int headerSize = IntEncoder.GetEncodedSize(dictionarySize); 433IntEncoder.Encode(dictionarySize, buffer, newOffset); 653messageOffset += IntEncoder.MaxEncodedSize; 906bytesRequired += IntEncoder.GetEncodedSize(bytesRequired);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingEncoders.cs (7)
57int sizeByteCount = IntEncoder.GetEncodedSize(valueByteCount); 61offset += IntEncoder.Encode(valueByteCount, _encodedBytes, offset); 195public const int MaxMessageFrameSize = 1 + IntEncoder.MaxEncodedSize; 220int spaceNeeded = 1 + IntEncoder.GetEncodedSize(messageFrame.Count); 230IntEncoder.Encode(messageFrame.Count, buffer, offset); 305int spaceNeeded = IntEncoder.GetEncodedSize(messageFrame.Count); 314IntEncoder.Encode(messageFrame.Count, buffer, offset);