Base64Coder is a fast and compact Base64 encoder/decoder class.
There is no Base64 encoder/decoder in the standard Java SDK class library up to Java 7. The undocumented classes sun.misc.BASE64Encoder and sun.misc.BASE64Decoder should not be used (explanation). Since Java 8 there is now java.util.Base64.
API documentation: | Base64Coder.html |
Source code: | Base64Coder.java |
Sample and test programs: | Base64FileDecoder.java Base64FileEncoder.java TestBase64Coder.java |
Download full package: | base64coder.zip |
Source code repository: | GitHub |
Maven repository: | repo2.maven.org |
Fedora package: | Fedora Koji Build System |
Related work 1: | ObjectiveC version for the iPhone, by Sebastian Stenzel. |
Related work 2: | Visual Basic version |
Related work 3: | C# version ported by Mārtiņš Andersons: Base64Coder.cs TestBase64Coder.cs |
Author: Christian d'Heureuse (www.source-code.biz, www.inventec.ch/chdh)
Index