Bech32: add JavaDoc headers to public types that were missing them

This commit is contained in:
Sean Gilligan 2023-06-09 12:03:03 +02:00 committed by Andreas Schildbach
parent eec12bae44
commit 6126821968

View File

@ -48,8 +48,14 @@ public class Bech32 {
private static final int BECH32_CONST = 1;
private static final int BECH32M_CONST = 0x2bc830a3;
/**
* Enumeration of known Bech32 encoding format types: Bech32 and Bech32m.
*/
public enum Encoding { BECH32, BECH32M }
/**
* Bech32 decoded data in 5-bit byte format. Typically, the result of {@link #decode(String)}.
*/
public static class Bech32Data {
public final Encoding encoding;
public final String hrp;