CborBase64Url class abstract
A CBOR string containing a base 64 url safe value.
- Inheritance
-
- Object
- CborValue
- CborString
- CborBase64Url
Constructors
-
CborBase64Url.encode(List<
int> bytes, {List<int> tags}) -
factory
-
CborBase64Url.fromString(String value, {List<
int> tags}) -
factory
-
CborBase64Url.fromUtf8(List<
int> str, {List<int> tags}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Additional tags provided to the value.
no setterinherited
- type → CborLengthType
-
no setterinherited
-
utf8Bytes
→ List<
int> -
Returns the UTF-8 value of this.
no setterinherited
Methods
-
decode(
) → List< int> - Use Base64Codec.urlSafe to decode.
-
encode(
EncodeSink sink) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{Object? substituteValue, bool allowMalformedUtf8 = false}) → Object? -
Transform this into a JSON encodable value.
inherited
-
toJsonInternal(
Set< Object> cyclicCheck, ToJsonOptions o) → Object? -
inherited
-
toObject(
{bool parseDateTime = true, bool parseUri = true, bool decodeBase64 = false, bool allowMalformedUtf8 = false}) → Object? -
Transforms the CborValue into a Dart object.
inherited
-
toObjectInternal(
Set< Object> cyclicCheck, ToObjectOptions o) → Object? -
inherited
-
toString(
{bool allowMalformed = false}) → String -
Convert to String.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited