Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PASNObject::EncodeASNHeader ( PBYTEArray &  buffer,
PASNObject::ASNType  type,
WORD  length 
) [static, inherited]

Encode an ASN object header into the buffer

buffer  buffer to encode into
type  ASN type of the object
length  length of the object

Definition at line 279 of file pasn.cxx.

References PASNObject::ASNTypeToType, and PASNObject::EncodeASNLength().

Referenced by PASNNull::Encode(), PASNObjectID::Encode(), PASNObject::EncodeASNInteger(), and PASNObject::EncodeASNUnsigned().

  buffer[buffer.GetSize()] = ASNTypeToType[type];
  EncodeASNLength(buffer, length);

Generated by  Doxygen 1.6.0   Back to index