Class Base64


  • public class Base64
    extends Object
    This is a partial duplication of org.apache.commons.codec.binary.Base64 It exists because Android compatibility only supports version 1.2 of that library, which only has the deprecated isArrayByteBase64. The use of isBase64 from this class will allow us to avoid using a deprecated method or hacking a solution that involves catching exceptions on decoding.
    • Constructor Detail

    • Method Detail

      • isBase64

        public static boolean isBase64​(byte octet)
      • isBase64

        public static boolean isBase64​(byte[] arrayOctet)
      • isWhiteSpace

        protected static boolean isWhiteSpace​(byte byteToCheck)