CborUnsignedValue class
A class representing a CBOR (Concise Binary Object Representation) int (64-byte) value.
- Implemented types
-
- CborObject<
T>
- CborObject<
- Available extensions
Constructors
- CborUnsignedValue.u32(int value)
-
factory
- CborUnsignedValue.u64(dynamic value)
-
factory
Properties
- hashCode → int
-
override hashcode
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
An abstract property representing the dynamic value contained in the CBOR object.
final
Methods
-
as<
T extends CborObject> ([String? name]) → T -
Available on CborObject, provided by the QuickCborObject extension
-
asMap<
T extends CborObject, E extends CborObject> ([String? name]) → CborMapValue< T, E> -
Available on CborObject, provided by the QuickCborObject extension
-
convertTo<
E, T extends CborObject> (E toe(T e)) → E -
Available on CborObject, provided by the QuickCborObject extension
-
encode(
) → List< int> -
Encode the value into CBOR bytes
override
-
hasType<
T> () → bool -
Available on CborObject, provided by the QuickCborObject extension
Checks whether the value stored in theCborObjecthas the specified typeT. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBigInt(
) → BigInt -
value as bigint
override
-
toCborHex(
) → String -
Encode the value into CBOR bytes an then to hex
override
-
toInt(
) → int -
value as int
override
-
toString(
) → String -
Returns the string representation of the value.
override
Operators
-
operator ==(
Object other) → bool -
override equal operation
override