SegwitCodec class

A codec which converts a Segwit class to its String representation and vice versa.

Inheritance

Constructors

SegwitCodec()
const

Properties

decoder SegwitDecoder
Returns the decoder of this, converting from T to S.
no setteroverride
encoder SegwitEncoder
Returns the encoder from S to T.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
inverted Codec<String, Segwit>
Inverts this.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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