System\ServiceModel\Channels\BinaryMessageEncoder.cs (16)
1430int bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, commonFragment);
1438bytesMatched = BinaryFormatParser.MatchKey(buffer, currentOffset, remainingSize);
1450bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, requestFragment1);
1456bytesMatched = BinaryFormatParser.MatchUniqueID(buffer, currentOffset, remainingSize);
1466bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, requestFragment2);
1474if (BinaryFormatParser.MatchAttributeNode(buffer, currentOffset, remainingSize))
1479UniqueId messageId = BinaryFormatParser.ParseUniqueID(buffer, messageIDOffset, messageIDSize);
1492bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, responseFragment1);
1502bytesMatched = BinaryFormatParser.MatchUniqueID(buffer, currentOffset, remainingSize);
1512bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, responseFragment2);
1520if (BinaryFormatParser.MatchAttributeNode(buffer, currentOffset, remainingSize))
1525UniqueId messageId = BinaryFormatParser.ParseUniqueID(buffer, messageIDOffset, messageIDSize);
1535int actionKey = BinaryFormatParser.ParseKey(buffer, actionOffset, actionSize);
1579if (BinaryFormatParser.IsSessionKey(key))
1581return readerSession.TryLookup(BinaryFormatParser.GetSessionKey(key), out result);
1585return dictionary.TryLookup(BinaryFormatParser.GetStaticKey(key), out result);