All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.archiveaccessor.filestore.Base64

java.lang.Object
   |
   +----com.ibm.archiveaccessor.filestore.Base64

public class Base64
extends Object
The Base64 classs is a standard for passing binary data as ASCII.


Constructor Index

 o Base64()

Method Index

 o binToAsc(byte[])
Convert an array of binary bytes to an array of ASCII bytes.

Constructors

 o Base64
 public Base64()

Methods

 o binToAsc
 public static byte[] binToAsc(byte bin[])
Convert an array of binary bytes to an array of ASCII bytes.

ASCII characters used are A-Z, a-z, 0-9, /, and +. The '=' is used to pad the ascii to a multiple of 4 bytes.

Parameters:
bin - the binary data.
Returns:
the equivalant ASCII data.

All Packages  Class Hierarchy  This Package  Previous  Next  Index