Erik Moqvist
Erik Moqvist
Why do you need them? I mean, they are normally instantiated by the `compile()` function, and are not really meant to be instantiated directly by the user. The documentation has...
Ok, feel free to submit a PR that exposes those classes. Possibly add a `format` property/attribute as well to them.
I will not look into this myself, sorry. Feel free to implement a fix.
Not sure, but it looks like lots of fields in that spec does not have a maximum size. There are many limitations in the C source code generator, and maximum...
Looks like a bug in asn1tools. The script below can be used to reproduce it. ``` python import asn1tools SPEC = ''' EccP256CurvePoint DEFINITIONS ::= BEGIN PublicVerificationKey ::= CHOICE {...
Yeah =) I'm working on other projects atm, but might have a look eventually.
Implemented a test to reproduce the error: https://github.com/eerimoq/asn1tools/blob/master/tests/test_oer.py#L508-L527
Ok, thanks for the report. I'll not likely fix it myself. Feel free to help out.
I don't have any immediate problem with adding such functionality. Maybe `pack('i2i2i1')`, where `i` is for masked integer, which is always unpacked as unsigned?
Please add a test or two.