Asn1PerMessageBuffer Interface Reference
Public Member Functions | |
void | ByteAlign () |
System.IO.Stream | GetInputStream () |
bool | IsAligned () |
Properties | |
int | MsgBitCnt [get] |
Asn1PerTraceHandler | TraceHandler [get] |
Detailed Description
This interface defines constants and methods specific to encoding and decoding PER messages. All of the PER message buffer classes implement this interface.
Member Function Documentation
void ByteAlign | ( | ) |
This method handles byte-alignment for aligned PER encoding or decoding.
Implemented in Asn1PerDecodeBuffer, and Asn1PerEncodeBuffer.
System.IO.Stream GetInputStream | ( | ) |
This method returns an input stream object that represents the message being encoded or decoded.
- Returns:
- Stream containing message
Implemented in Asn1PerEncodeBuffer.
bool IsAligned | ( | ) |
This method returns a flag indicating if PER aligned encoding is currently enabled (if false, unaligned is in effect).
- Returns:
true
is aligned; otherwisefalse
Implemented in Asn1PerDecodeBuffer, and Asn1PerEncodeBuffer.
Property Documentation
int MsgBitCnt [get] |
Gets the number of bits in the PER message.
Value:
Count of bits in message
Implemented in Asn1PerDecodeBuffer, and Asn1PerEncodeBuffer.
Asn1PerTraceHandler TraceHandler [get] |
Gets a reference to the internal trace handler object used to trace the bit fields within a PER message.
Value:
Asn1PerTraceHandler object
Implemented in Asn1PerDecodeBuffer, and Asn1PerEncodeBuffer.