...
It is also possible to use sequential formats to describe constructed ASN.1 types. In this case, the tag must be declared as as constructed
(a specific a specific keyword) to allow Ultra to correctly encode the type.
...
Since INTEGER
types are automatically mapped to int
, which is a 32-bit integer type, INTEGER
s longer than 4 bytes will cause decoding errors. This can be avoided by using the bigint
type in place of INTEGER
. The only difference between bigint
and INTEGER
is that bigint
is is automatically mapped to the bigint
type, which can support INTEGER
s of any size.
...