Stuck with BinaryNotes compiler

I'm trying to implement some protocol in Java. In order to do that I was using BinaryNotes compiler and their api library but I'm stuck with this example. Here is my asn1 input file: Test DEFINITIONS ::= BEGIN OPERATION ::= CLASS { &Argument OPTIONAL, &opCode Code UNIQUE OPTIONAL } WITH SYNTAX { [ARGUMENT &Argument] [CODE &opCode] } OperationA OPERATION ::= { ARGUMENT Arg CODE global:{org(0) operA(1) ver(1) id(1)} } Code ::= CHOICE { local INTEGER, global OBJECT IDENTIFIER } Arg ::= SEQUENCE { operationID INTEGER, value ArgValue } ArgValue ::= OCTET STRING (SIZE(1..25)) END and here is output of bn compiler: > 1. Compiling file: test1.asn > 2. line 4:9: unexpected token: OPERATION > 3. line 6:17: unexpected char: '&' How should I modify my input asn1 file in order to successefully compile it with bn compiler. Thanks in advance.

以上就是Stuck with BinaryNotes compiler的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏