This section describes the transformation of SEQUENCE
data types. The SET data type is analogous to the
SEQUENCE and so bears no extra discussion. As described
in previous sections, the SEQUENCE OF and
SET OF types are likewise equivalent.
The only significant difference between SEQUENCE and
SET is that elements may be encoded in any order in
a SET. ASN2CSV will order SET elements
in the order they appear in the specification.
The SEQUENCEs considered in this section contain
only simple types to simplify the collection of header data.
Other cases are considered in the next sections.
Take, for example, the following SEQUENCE specification:
S ::= SEQUENCE {
i INTEGER
s UTF8String,
b BIT STRING
}
Each element of the SEQUENCE will be represented by
an item in the output CSV file as follows:
i,s,b