HexCodec class Null safety

A codec for encoding and decoding byte arrays to and from hexadecimal strings.

Inheritance

Constructors

HexCodec()
const

Properties

decoder Converter<String, List<int>>
Returns the decoder of this, converting from T to S.
read-onlyoverride
encoder Converter<List<int>, String>
Returns the encoder from S to T.
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyinherited
inverted Codec<String, List<int>>
Inverts this.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

decode(String encoded) List<int>
Decodes encoded data.
inherited
encode(List<int> input) String
Encodes input.
inherited
fuse<R>(Codec<String, R> other) Codec<List<int>, R>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited