encode method

  1. @override
String encode(
  1. Segwit data
)
override

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

@override
String encode(Segwit data) {
  return SegwitEncoder().convert(data);
}