type

AsnColl

src abstract const class AsnColl : AsnObj

Base class for ASN.1 collection types.

constructors

methods

builder

Get a collection builder

get

Get an item value from the collection.

isEmpty

Is the collection empty

isSeq

Is this a SEQUENCE

isSet

Is this a SET

size

Get the number of items in the collection

valStr
vals

Get the raw AsnObj values in the collection

Slot Details

builder

src static AsnCollBuilder builder()

Get a collection builder

get

src AsnObj? get(Obj key)

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

src Bool isEmpty()

Is the collection empty

isSeq

src Bool isSeq()

Is this a SEQUENCE

isSet

src Bool isSet()

Is this a SET

make

src new make(AsnTag[] tags, Obj val)

size

src Int size()

Get the number of items in the collection

valStr

src protected virtual override Str valStr()

vals

src AsnObj[] vals()

Get the raw AsnObj values in the collection