Package org.stellar.sdk
Interface Base32
public interface Base32
Base32 interface used by the SDK to encode and decode strings and bytes.
-
Method Summary
-
Method Details
-
encode
byte[] encode(byte[] data) Encodes bytes to base32 bytes- Parameters:
data
- bytes to encode- Returns:
- encoded bytes
-
decode
Decodes base32 string to bytes- Parameters:
data
- string to decode- Returns:
- decoded bytes
-
decode
byte[] decode(byte[] data) Decodes base32 bytes to bytes- Parameters:
data
- bytes to decode- Returns:
- decoded bytes
-