type

AsnColl

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

static AsnCollBuilder builder()

Get a collection builder

get

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

Bool isEmpty()

Is the collection empty

isSeq

Bool isSeq()

Is this a SEQUENCE

isSet

Bool isSet()

Is this a SET

make

new make(AsnTag[] tags, Obj val)

size

Int size()

Get the number of items in the collection

valStr

protected virtual override Str valStr()

vals

AsnObj[] vals()

Get the raw AsnObj values in the collection