[Css-csts] ASN.1 suggestion
Ray, Timothy J. (GSFC-5830)
timothy.j.ray at nasa.gov
Wed Apr 15 15:41:05 EDT 2009
Hello all,
In our ASN.1 for the Framework (see page D-131), we define certain integer types:
IntPosLong
IntPosShort
IntUnsignedLong
IntUnsignedShort
Suggestion: use names like these instead:
IntPos32Bits
IntPos16Bits
IntUnsigned32Bits
IntUnsigned16Bits
Rationale:
As time goes on, the definitions of 'long' and 'short' may change, but the definition of '16Bits' and '32Bits' won't. This approach has already been applied to the C language via the file 'stdint.h' - see this web site: http://linux.die.net/man/3/uint32_t
Best regards,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ccsds.org/pipermail/css-csts/attachments/20090415/6625d797/attachment.htm
More information about the Css-csts
mailing list