CborCustomLengthListValue<T> class

A class representing a CBOR (Concise Binary Object Representation) List value.

Available Extensions

Constructors

CborCustomLengthListValue.fixedLength(List<T> value, {int? length})
Constructor for creating a CborListValue instance with the provided parameters. It accepts the List of all cbor encodable value.

Properties

hashCode int
The hash code for this object.
no setterinherited
length int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value List<T>
value as List
final

Methods

encode() List<int>
Encode the value into CBOR bytes
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCborHex() String
Encode the value into CBOR bytes an then to hex
override
toString() String
Returns the string representation of the value.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited