Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2084326
  • 博文数量: 414
  • 博客积分: 10312
  • 博客等级: 上将
  • 技术积分: 4921
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-31 01:49
文章分类

全部博文(414)

文章存档

2011年(1)

2010年(29)

2009年(82)

2008年(301)

2007年(1)

分类:

2009-10-11 02:33:55

The purpose of the ASN.1 compiler, of which this document is part, is to convert the specifications in ASN.1 notation into some other language. At this moment, only C and C++ target languages are supported, the latter is in upward compatibility mode.

The compiler reads the specification and emits a series of target language structures (C's structs, unions, enums) describing the corresponding ASN.1 types. The compiler also creates the code which allows automatic serialization and deserialization of these structures using several standardized encoding rules (BER, DER, XER).

For example, suppose the following ASN.1 module is given:

RectangleTest DEFINITIONS ::=

BEGIN                                   
阅读(1386) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-11-26 13:32:47

推荐个ASN.1的编译器 ,香农ASNLAB 的 asn.1编译器,编解码速率快,GUI,支持J2ME,asnlab.cn