SegwitCodec class
A codec which converts a Segwit class to its String representation and vice versa.
- Inheritance
-
- Object
- Codec<
Segwit, SegwitInput> - SegwitCodec
Constructors
- SegwitCodec()
-
const
Properties
- decoder → SegwitDecoder
-
Returns the decoder of
this
, converting fromT
toS
.no setteroverride - encoder → SegwitEncoder
-
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
SegwitInput, Segwit> -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
SegwitInput data) → Segwit -
Decodes
encoded
data.override -
encode(
Segwit data) → SegwitInput -
Encodes
input
.override -
fuse<
R> (Codec< SegwitInput, R> other) → Codec<Segwit, R> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValidHrp(
String hrp) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited