#include <asner.h>
Inheritance diagram for PASN_Stream:

Public Member Functions | |
| PASN_Stream () | |
| PASN_Stream (const PBYTEArray &bytes) | |
| PASN_Stream (const BYTE *buf, PINDEX size) | |
| void | PrintOn (ostream &strm) const |
| PINDEX | GetPosition () const |
| void | SetPosition (PINDEX newPos) |
| BOOL | IsAtEnd () |
| void | ResetDecoder () |
| void | BeginEncoding () |
| void | CompleteEncoding () |
| virtual BOOL | Read (PChannel &chan)=0 |
| virtual BOOL | Write (PChannel &chan)=0 |
| virtual BOOL | NullDecode (PASN_Null &)=0 |
| virtual void | NullEncode (const PASN_Null &)=0 |
| virtual BOOL | BooleanDecode (PASN_Boolean &)=0 |
| virtual void | BooleanEncode (const PASN_Boolean &)=0 |
| virtual BOOL | IntegerDecode (PASN_Integer &)=0 |
| virtual void | IntegerEncode (const PASN_Integer &)=0 |
| virtual BOOL | EnumerationDecode (PASN_Enumeration &)=0 |
| virtual void | EnumerationEncode (const PASN_Enumeration &)=0 |
| virtual BOOL | RealDecode (PASN_Real &)=0 |
| virtual void | RealEncode (const PASN_Real &)=0 |
| virtual BOOL | ObjectIdDecode (PASN_ObjectId &)=0 |
| virtual void | ObjectIdEncode (const PASN_ObjectId &)=0 |
| virtual BOOL | BitStringDecode (PASN_BitString &)=0 |
| virtual void | BitStringEncode (const PASN_BitString &)=0 |
| virtual BOOL | OctetStringDecode (PASN_OctetString &)=0 |
| virtual void | OctetStringEncode (const PASN_OctetString &)=0 |
| virtual BOOL | ConstrainedStringDecode (PASN_ConstrainedString &)=0 |
| virtual void | ConstrainedStringEncode (const PASN_ConstrainedString &)=0 |
| virtual BOOL | BMPStringDecode (PASN_BMPString &)=0 |
| virtual void | BMPStringEncode (const PASN_BMPString &)=0 |
| virtual BOOL | ChoiceDecode (PASN_Choice &)=0 |
| virtual void | ChoiceEncode (const PASN_Choice &)=0 |
| virtual BOOL | ArrayDecode (PASN_Array &)=0 |
| virtual void | ArrayEncode (const PASN_Array &)=0 |
| virtual BOOL | SequencePreambleDecode (PASN_Sequence &)=0 |
| virtual void | SequencePreambleEncode (const PASN_Sequence &)=0 |
| virtual BOOL | SequenceKnownDecode (PASN_Sequence &, PINDEX, PASN_Object &)=0 |
| virtual void | SequenceKnownEncode (const PASN_Sequence &, PINDEX, const PASN_Object &)=0 |
| virtual BOOL | SequenceUnknownDecode (PASN_Sequence &)=0 |
| virtual void | SequenceUnknownEncode (const PASN_Sequence &)=0 |
| BYTE | ByteDecode () |
| void | ByteEncode (unsigned value) |
| unsigned | BlockDecode (BYTE *bufptr, unsigned nBytes) |
| void | BlockEncode (const BYTE *bufptr, PINDEX nBytes) |
| void | ByteAlign () |
Protected Attributes | |
| PINDEX | byteOffset |
| unsigned | bitOffset |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2