Package org.hl7.fhir.utilities
Class Base64
java.lang.Object
org.hl7.fhir.utilities.Base64
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisBase64(byte octet) static booleanisBase64(byte[] arrayOctet) static booleanprotected static booleanisWhiteSpace(byte byteToCheck)
-
Constructor Details
-
Base64
public Base64()
-
-
Method Details
-
isBase64
-
isBase64
-
isBase64
-
isWhiteSpace
-