abstract const class asn1::AsnColl

sys::Obj
  asn1::AsnObj
    asn1::AsnColl

Source

Base class for ASN.1 collection types.

builder

static AsnCollBuilder builder()

Source

Get a collection builder

get

AsnObj? get(Obj key)

Source

Get an item value from the collection.

  • If key is a Str then get the named item.
  • If key is an Int, then get the item at that zero-based index.
isEmpty

Bool isEmpty()

Source

Is the collection empty

isSeq

Bool isSeq()

Source

Is this a SEQUENCE

isSet

Bool isSet()

Source

Is this a SET

make

new make(List<AsnTag> tags, Obj val)

Source

size

Int size()

Source

Get the number of items in the collection

valStr

protected virtual override Str valStr()

Source

vals

List<AsnObj> vals()

Source

Get the raw AsnObj values in the collection