Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IAsn1::encodeNULL ( P6UINT8 pBuffer,
P6UINT32  bufSize,
P6UINT32 index,
P6UINT8  overrideTag 
)
pure virtual

For cases when the value of a type is empty.

Parameters
pBuffer[ in out ] Byte array containg the ASN.1 encoded data to decode
bufSize[ in ] the amount of data (in bytes) pointed to by pBuffer
index[ in ] current offset into pBuffer, should be pointing to the length field of an integer tagged value [ out ] As the 'null' value is encoded in pBuffer this index value increases in value
overrideTag[ in ] can use BER_NULL for standard, or pass in application tag value.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgpBuffer is set to NULL.