encode method

  1. @override
String encode(
  1. Bech32 data, [
  2. dynamic maxLength = Bech32Validations.maxInputLength
])
override

Encodes input.

The input is encoded as if by encoder.convert.

Implementation

@override
String encode(Bech32 data, [maxLength = Bech32Validations.maxInputLength]) {
  return Bech32Encoder().convert(data, maxLength);
}