Interface Base32


public interface Base32
Base32 interface used by the SDK to encode and decode strings and bytes.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decode(byte[] data)
    Decodes base32 bytes to bytes
    byte[]
    decode(String data)
    Decodes base32 string to bytes
    byte[]
    encode(byte[] data)
    Encodes bytes to base32 bytes
  • Method Details

    • encode

      byte[] encode(byte[] data)
      Encodes bytes to base32 bytes
      Parameters:
      data - bytes to encode
      Returns:
      encoded bytes
    • decode

      byte[] decode(String data)
      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