public class Base64 extends Object
| Constructor and Description |
|---|
Base64() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decode(byte[] bytes)
Decodes Base64 data into octets
|
static byte[] |
decode(byte[] bytes,
int offset,
int len) |
static byte[] |
decode(String inputString)
Decodes Base64 data into octets
|
static byte[] |
encode(byte[] bytes)
Encodes hex octets into Base64
|
static byte[] |
encode(byte[] bytes,
int offset,
int length) |
static boolean |
isBase64(byte octect) |
public static byte[] decode(byte[] bytes)
bytes - Byte array containing Base64 datapublic static byte[] decode(byte[] bytes,
int offset,
int len)
public static byte[] decode(String inputString)
inputString - String containing Base64 datapublic static byte[] encode(byte[] bytes)
bytes - Array containing binaryDatapublic static byte[] encode(byte[] bytes,
int offset,
int length)
public static boolean isBase64(byte octect)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.