FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncoder.cs (16)
1313int bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, s_commonFragment);
1321bytesMatched = BinaryFormatParser.MatchKey(buffer, currentOffset, remainingSize);
1333bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, s_requestFragment1);
1339bytesMatched = BinaryFormatParser.MatchUniqueID(buffer, currentOffset, remainingSize);
1349bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, s_requestFragment2);
1357if (BinaryFormatParser.MatchAttributeNode(buffer, currentOffset, remainingSize))
1362UniqueId messageId = BinaryFormatParser.ParseUniqueID(buffer, messageIDOffset, messageIDSize);
1375bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, s_responseFragment1);
1385bytesMatched = BinaryFormatParser.MatchUniqueID(buffer, currentOffset, remainingSize);
1395bytesMatched = BinaryFormatParser.MatchBytes(buffer, currentOffset, remainingSize, s_responseFragment2);
1403if (BinaryFormatParser.MatchAttributeNode(buffer, currentOffset, remainingSize))
1408UniqueId messageId = BinaryFormatParser.ParseUniqueID(buffer, messageIDOffset, messageIDSize);
1418int actionKey = BinaryFormatParser.ParseKey(buffer, actionOffset, actionSize);
1462if (BinaryFormatParser.IsSessionKey(key))
1464return _readerSession.TryLookup(BinaryFormatParser.GetSessionKey(key), out result);
1468return _dictionary.TryLookup(BinaryFormatParser.GetStaticKey(key), out result);