|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.util.Base32
public class Base32
Base32 - encodes and decodes RFC3548 Base32 (see http://www.faqs.org/rfcs/rfc3548.html ) Imported public-domain code of Bitzi.
| Constructor Summary | |
|---|---|
Base32()
|
|
| Method Summary | |
|---|---|
static byte[] |
decode(java.lang.String base32)
Decodes the given Base32 String to a raw byte array. |
static java.lang.String |
encode(byte[] bytes)
Encodes byte array to Base32 String. |
static void |
main(java.lang.String[] args)
For testing, take a command-line argument in Base32, decode, print in hex, encode, print |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base32()
| Method Detail |
|---|
public static java.lang.String encode(byte[] bytes)
bytes - Bytes to encode.
bytes as a String.public static byte[] decode(java.lang.String base32)
base32 -
base32 String as a raw byte array.public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||