home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dcom / modems / 10881 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.1 KB

  1. Path: sparky!uunet!hayes!tnixon
  2. From: tnixon@hayes.com
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: ASN.1 (X.409)
  5. Message-ID: <5801.2a6c2513@hayes.com>
  6. Date: 21 Jul 92 14:54:11 GMT
  7. References: <1581.212.uupcb@yob.sccsi.com>
  8. Organization: Hayes Microcomputer Products, Norcross, GA
  9. Lines: 16
  10.  
  11. > Does anyone here know anything about Abstract Syntax Notation 1, as
  12. > defined in CCITT X.409? What I'd like to know is how to encode an
  13. > integer which doesn't fit into a single byte (e.g. 12345): is it
  14. > 02 02 30 39, or is it 02 02 39 30 ?
  15.  
  16. The first encoded byte is always the high-order byte, so it would be 
  17. "02 02 30 39".  If the high-order byte would be 00 or FF, it should 
  18. be omitted to insure encoding in the smallest possible number of 
  19. octets.
  20.  
  21. -- 
  22. Toby Nixon, Principal Engineer      | Voice   +1-404-840-9200  Telex 401243420
  23. Hayes Microcomputer Products, Inc.  | Fax     +1-404-447-0178  CIS   70271,404
  24. P.O. Box 105203                     | BBS     +1-404-446-6336  AT&T    !tnixon
  25. Atlanta, Georgia  30348             | UUCP uunet!hayes!tnixon  Fido   1:114/15
  26. USA                                 | Internet                tnixon@hayes.com
  27.