Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
org.metastatic.jessie

Class Base64

java.lang.Object
|
+--org.metastatic.jessie.Base64


public final class Base64

extends java.lang.Object

Method Summary

static byte[]decode(String b64)

Decode a Base-64 string into a byte array.
static Stringencode(byte[] buf, int tw)

Base64 encode a byte array, returning the returning string.

Method Details

decode

public static byte[] decode(String b64)

Decode a Base-64 string into a byte array.

Parameters:

Returns:

Throws:


encode

public static String encode(byte[] buf, int tw)

Base64 encode a byte array, returning the returning string.

Parameters:

Returns: