gnu.inet.util

Class BASE64


public final class BASE64
extends java.lang.Object

Encodes and decodes text according to the BASE64 encoding.
Author:
Chris Burdess

Method Summary

static byte[]
decode(byte[] bs)
Decode the specified byte array using the BASE64 algorithm.
static byte[]
encode(byte[] bs)
Encode the specified byte array using the BASE64 algorithm.
static void
main(String[] args)

Method Details

decode

public static byte[] decode(byte[] bs)
Decode the specified byte array using the BASE64 algorithm.
Parameters:
bs - the source byte array

encode

public static byte[] encode(byte[] bs)
Encode the specified byte array using the BASE64 algorithm.
Parameters:
bs - the source byte array

main

public static void main(String[] args)

© Copyright 2003 The Free Software Foundation, all rights reserved