Base64

Base64 codec that depends on nothing but core java. compiled to lang level 1.5.

License

License

GroupId

GroupId

com.owtelse.codec
ArtifactId

ArtifactId

base64
Last Version

Last Version

1.0.6
Release Date

Release Date

Type

Type

jar
Description

Description

Base64
Base64 codec that depends on nothing but core java. compiled to lang level 1.5.
Project URL

Project URL

https://github.com/karlroberts/base64
Source Code Management

Source Code Management

https://github.com/karlroberts/base64

Download base64

How to add to project

<!-- https://jarcasting.com/artifacts/com.owtelse.codec/base64/ -->
<dependency>
    <groupId>com.owtelse.codec</groupId>
    <artifactId>base64</artifactId>
    <version>1.0.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.owtelse.codec/base64/
implementation 'com.owtelse.codec:base64:1.0.6'
// https://jarcasting.com/artifacts/com.owtelse.codec/base64/
implementation ("com.owtelse.codec:base64:1.0.6")
'com.owtelse.codec:base64:jar:1.0.6'
<dependency org="com.owtelse.codec" name="base64" rev="1.0.6">
  <artifact name="base64" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.owtelse.codec', module='base64', version='1.0.6')
)
libraryDependencies += "com.owtelse.codec" % "base64" % "1.0.6"
[com.owtelse.codec/base64 "1.0.6"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.6

Project Modules

There are no modules declared in this project.

base64 - codec library for Base64.

Base64 codec. works well for small files and strings (due to internal array buffers) and well tested. Pretty quick. Room for improvement in future release, which will allow it to stream very large files.

Relies on no library except core java. Compiled up to Java 1.5 language level so will work for 1.5 upwards. base64 is licensed with a BSD3 licence see the included LICENSE file for details.

State

The 'base64' code is ready for use, for small files or Strings. A future release will add streaming to make it suitable for large files and improve its efficiency.

Thanks

Thanks to Tom Daley who posted the Base64 encode algorithm at http://www.javaworld.com/javaworld/javatips/jw-javatip36-p2.html which helped me to create the decoder.

Author

Karl Roberts [email protected]

Notes

  1. official repository https://github.com/karlroberts/base64
  2. site and documentation https://github.com/karlroberts/base64
  3. license (3 point BSD style) https://github.com/karlroberts/base64/blob/master/LICENSE

Versions

Version
1.0.6
1.0.4