
com.pippsford.encoding.Base64 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-utils Show documentation
Show all versions of common-utils Show documentation
Code that seems to me to have utility across multiple projects
The newest version!
package com.pippsford.encoding;
import javax.annotation.concurrent.ThreadSafe;
/**
* Convert data into a Base64 encoded form where every three bytes of data is encoded as four characters. This scheme uses '+' for 62, '/' for 63, and '=' for
* the required padding.
*
* See Wikipedia description of Base64 encoding
*
* @author Simon Greatrix
*/
@ThreadSafe
public class Base64 extends GenericBase64 {
public Base64() {
super('+', '/', '=', true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy