org.rubato.util
Class Base64

java.lang.Object
  extended by org.rubato.util.Base64

public final class Base64
extends java.lang.Object

The class converts an array of integers to base-64 string representation. This is useful for handling binary objects stricly with the limits of ASCII.

Author:
Gérard Milmeister

Method Summary
static int[] decodeIntArray(java.lang.String s)
          Decodes the base-64 string s and returns the decoded array of integers.
static java.lang.String encodeIntArray(int[] a)
          Encodes the integer array a as a base-64 string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encodeIntArray

public static java.lang.String encodeIntArray(int[] a)
Encodes the integer array a as a base-64 string.


decodeIntArray

public static int[] decodeIntArray(java.lang.String s)
Decodes the base-64 string s and returns the decoded array of integers.