Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IAsn1_2::encodeUnsigned64_2 ( P6UINT8 pBuffer,
P6UINT32  bufSize,
P6UINT32 pIndex,
P6UINT64  numValue,
P6UINT8  applicationTag 
)
pure virtual

The standard integer type is a signed value.

This limits the positive value that can be transmitted in a 64 bit value. This function allows the caller to send a 64 bit unsigned integer value in an application specific way (i.e., an application tag must be provided).

Parameters
pBuffer[ in out ] array of bytes to build an ASN.1 encoded message
bufSize[ in ] size in octets (i.e., bytes) of pBuffer
pIndex[ in ] current offset into pBuffer, that is, the next free byte to write into [ out ] As the unsigned number is encoded in pBuffer this index value increases in value
numValue[ in ] 64 bit unsigned value to encode
applicationTag[ in ] Calling application must set a standard BER encoded tag (i.e., an application tag value not a universal tag)
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eTooBigThe remaining space in pBuffer is insufficient to encode the integer value.