Package org.bitcoinj.base
Class Bech32.Bech32Bytes
java.lang.Object
org.bitcoinj.base.internal.ByteArray
org.bitcoinj.base.Bech32.Bech32Bytes
- All Implemented Interfaces:
Comparable<ByteArray>
- Direct Known Subclasses:
Bech32.Bech32Data
- Enclosing class:
- Bech32
Binary data in 5-bits-per-byte format as used in Bech32 encoding/decoding.
-
Constructor Details
-
Bech32Bytes
protected Bech32Bytes(byte[] bytes) Wrapper for abyte[]
array.- Parameters:
bytes
- bytes to be copied (5-bits per byte format)
-
-
Method Details
-
decode5to8
public byte[] decode5to8()Return the data, fully-decoded with 8-bits per byte.- Returns:
- The data, fully-decoded as a byte array.
-