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

WORD PASNObject::GetASNHeaderLength ( WORD  length  )  [static, inherited]

Return the length of an ASN object header if the object is the specified length

Parameters:
length  length of object

Definition at line 287 of file pasn.cxx.

References PASNObject::GetASNLengthLength().

Referenced by PASNObject::GetASNIntegerLength(), PASNObject::GetASNUnsignedLength(), PASNObjectID::GetEncodedLength(), and PASNString::GetEncodedLength().

{
  return (WORD)(1 + GetASNLengthLength(length));
}


Generated by  Doxygen 1.6.0   Back to index