QuickCborObject extension

An extension providing quick utility methods for handling CborObject instances.

on

Methods

as<T extends CborObject<Object?>>([String? name]) → T

Available on CborObject<Object?>, provided by the QuickCborObject extension

asMap<T extends CborObject<Object?>, E extends CborObject<Object?>>([String? name]) → CborMapValue<T, E>

Available on CborObject<Object?>, provided by the QuickCborObject extension

convertTo<E, T extends CborObject<Object?>>(E toe(T e)) → E

Available on CborObject<Object?>, provided by the QuickCborObject extension

hasType<T>() bool

Available on CborObject<Object?>, provided by the QuickCborObject extension

Checks whether the value stored in the CborObject has the specified type T.

Static Methods

cborTagValue({List<int>? cborBytes, CborObject<Object?>? object, String? hex, List<int>? tags}) → CborListValue<CborObject<Object?>>

Available on CborObject<Object?>, provided by the QuickCborObject extension

decode<T extends CborObject<Object?>>({List<int>? cborBytes, CborObject<Object?>? object, String? hex}) → T

Available on CborObject<Object?>, provided by the QuickCborObject extension