HexCodec class
A codec that converts byte arrays to and from hexadecimal strings, following the Base16 spec.
This should be used via the hex field.
Properties
- decoder → HexDecoder
-
Returns the decoder of
this
, converting fromT
toS
. [...]read-only, override - encoder → HexEncoder
-
Returns the encoder from
S
toT
. [...]read-only, override - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
inverted
→ Codec<
String, List< int>> -
Inverts
this
. [...]read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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
withother
. [...]inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited