Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public static final class Bech32.Decoded

  1. Object
  2. Bech32.Decoded
The result of decode(String).

Methods

public String getHrp()Returns the human readable part, lowercase.
public byte[] getData()Returns the 5-bit data values, without the checksum.
public int getVariant()Returns BECH32 or BECH32M.

Inherited methods

Method details

getHrp

public String getHrp()
Returns the human readable part, lowercase.

getData

public byte[] getData()
Returns the 5-bit data values, without the checksum.

getVariant

public int getVariant()
Returns BECH32 or BECH32M.