public class Base64 extends Encoding
Constructor and Description |
---|
Base64() |
Modifier and Type | Method and Description |
---|---|
ReadBuffer |
decode(byte[] in,
int offset,
int length) |
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 ReadBuffer decode(byte[] in, int offset, int length) throws DecodingException
decode
in class Encoding
DecodingException