Converts a buffer to a Bech32 or Bech32m encoded string.
The buffer to be encoded.
The version number to be used in the encoding.
The prefix string to be used in the encoding.
The Bech32 or Bech32m encoded string.
Converts a buffer to a Bech32 or Bech32m encoded string.