Class Base64

java.lang.Object
com.codename1.crypto.encoding.Base64

public final class Base64 extends Object
Standard Base64 (RFC 4648) with padding: the text form of PSBTs and Solana transactions.
  • Method Details

    • encode

      public static String encode(byte[] in)
      Encodes bytes.
    • decode

      public static byte[] decode(String text)

      Decodes text; whitespace is ignored.

      Throws
      • IllegalArgumentException: for malformed Base64