Function encodeBech32

Encode a Bech32 string.

char[] encodeBech32 (
  in const(char[]) hrp,
  in const(ubyte[]) values,
  agora.crypto.Bech32.Encoding encoding
) pure nothrow @safe;

Parameters

NameDescription
hrp human redable part
values values to be encoded
encoding encoding format to encode with

Returns

encoded string