DogCborExtension extension
- on
-
- DogEngine
Methods
-
fromCbor<
T> (List< int> encoded, {IterableKind kind = IterableKind.none, Type? type, TypeTree? tree}) → T -
Available on DogEngine, provided by the DogCborExtension extension
Converts Cbor supplied viaencoded
to its normal representation by using the converter associated withT
,type
ortree
. -
fromCborString<
T> (String encoded, {IterableKind kind = IterableKind.none, Type? type, TypeTree? tree}) → T -
Available on DogEngine, provided by the DogCborExtension extension
Converts Cbor supplied viaencoded
to its normal representation by using the converter associated withT
,type
ortree
. Theencoded
is expected to be a base64 encoded string. -
toCbor<
T> (T value, {IterableKind kind = IterableKind.none, Type? type, TypeTree? tree}) → List< int> -
Available on DogEngine, provided by the DogCborExtension extension
Converts avalue
to its Cbor representation using the converter associated withT
,type
ortree
. -
toCborString<
T> (T value, {IterableKind kind = IterableKind.none, Type? type, TypeTree? tree}) → String -
Available on DogEngine, provided by the DogCborExtension extension
Converts avalue
to its Cbor representation using the converter associated withT
,type
ortree
. Returns the result as a base64.