public class Base64 extends Encoding
Constructor | Description |
---|---|
Base64() |
Modifier and Type | Method | Description |
---|---|---|
void |
decode(InputStream in,
Buffer bout) |
|
String |
encode(byte[] in) |
Encode a byte array to a ASCII or ISO-8859-1 String.
|
void |
encode(InputStream in,
Writer strBuf) |
More efficient than super
|
String |
getName() |
public String encode(byte[] in) throws EncodingException
Encoding
encode
in class Encoding
EncodingException
public void encode(InputStream in, Writer strBuf) throws IOException
encode
in class Encoding
in
- IOException
Encoding.encode(String)
public void decode(InputStream in, Buffer bout) throws IOException
decode
in class Encoding
DecodingException
IOException
Encoding.decode(byte[], int, int)