ASN1PERMessageBuffer Class Reference
[PER Message Buffer Classes]
#include <asn1PerCppTypes.h>
Inheritance diagram for ASN1PERMessageBuffer:

Detailed Description
The ASN1PERMessageBuffer class is derived from the ASN1MessageBuffer base class. It is the base class for the ASN1PEREncodeBuffer and ASN1PERDecodeBuffer derived classes. It contains variables and methods specific to encoding or decoding ASN.1 messages using the Packed Encoding Rules (PER). It is used to manage the buffer into which an ASN.1 message is to be encoded or decoded.
Public Member Functions | |
| void | binDump (const char *varname) |
| void | hexDump () |
| size_t | getMsgLen () |
| void | setTrace (OSBOOL value) |
| int | setBuffer (const OSOCTET *pMsgBuf, size_t msgBufLen) |
| void | BinDump (const char *varname) |
| void | HexDump () |
| int | GetMsgLen () |
| void | SetTrace (OSBOOL value) |
Protected Member Functions | |
| ASN1PERMessageBuffer (Type bufferType, OSBOOL aligned) | |
| ASN1PERMessageBuffer (Type bufferType, OSOCTET *pMsgBuf, size_t msgBufLen, OSBOOL aligned) | |
Constructor & Destructor Documentation
|
||||||||||||
|
This constructor does not set a PER input source. It is used by the derived encode buffer classes. Use the getStatus() method to determine if an error has occured during initialization.
|
|
||||||||||||||||||||
|
This constructor allows a memory buffer holding a binary PER message to be specified. Use the getStatus() method to determine if an error has occured during initialization.
|
Member Function Documentation
|
|
This method outputs a binary dump of the current buffer contents to stdout.
|
|
|
This method returns the length of a previously encoded PER message.
|
|
|
This method outputs a hexadecimal dump of the current buffer contents to stdout.
|
|
||||||||||||
|
This method sets a buffer to receive the encoded message.
|
|
|
This method turns PER diagnostic tracing on or off. This enables the collection of the bit statistics inside the PER library functions that can be displayed using the binDump method.
|
The documentation for this class was generated from the following file:
