Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ITTLVDumper::compareTTLV ( P6UINT8 pTTLV1,
P6SIZE  cTTLV1,
P6UINT8 pTTLV2,
P6SIZE  cTTLV2,
P6TTLVCOMPAREFLAGS  nFlags,
P6TTLVOUTCB  pfnOutput,
P6VOID pCBCtx 
)
pure virtual

Compares two buffer each containing TTLV encoded data and provides a text based dump of the differences.

Parameters
pTTLV1[ in ] A pointer to a byte buffer containing the TTLV encoded data to compare with the data in pTTLV2.
cTTLV1[ in ] An integer specifying the valid number of bytes contained in the buffer pointed to by pTTLV1.
pTTLV2[ in ] A pointer to a byte buffer containing the TTLV encoded data to compare with the data in pTTLV1.
cTTLV2[ in ] An integer specifying the valid number of bytes contained in the buffer pointed to by pTTLV2.
fFlags[ in ] Control flags that can be OR'd together allowing the caller to change the behavior of the compare method. Currently this must be set to P6TTCF_NOFLAGS.
pfnOutput[ in ] The address of a function defined as P6TTLVOUTCB which the method will call to output text data.
pCtx[ in ] A user defined context value that will be passed to the pfnOutput output function whenever it is called.