QuickCborObject extension
An extension providing quick utility methods for handling CborObject instances.
- on
-
- CborObject<
Object?>
- CborObject<
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<
Checks whether the value stored in theObject?> , provided by the QuickCborObject extensionCborObjecthas the specified typeT.
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