public class SevenBit extends Encoding
| Constructor and Description |
|---|
SevenBit() |
| Modifier and Type | Method and Description |
|---|---|
Buffer |
decode(Buffer in)
We don't do any 8-bit checks like we do for decode(byte[])
|
Buffer |
decode(byte[] in,
int offset,
int length) |
void |
decode(InputStream in,
Buffer out)
Copy in to out, unchanged
We don't do any 8-bit checks like we do for decode(byte[])
|
String |
encode(byte[] in)
Encode a byte array to a ASCII or ISO-8859-1 String.
|
String |
getName() |
public String encode(byte[] in) throws EncodingException
Encodingencode in class EncodingEncodingException - alwayspublic Buffer decode(byte[] in, int offset, int length) throws DecodingException
decode in class EncodingDecodingException - on illegal characterspublic Buffer decode(Buffer in)
decode in class EncodingEncoding.decode(byte[], int, int)public void decode(InputStream in, Buffer out) throws IOException
decode in class EncodingDecodingExceptionIOExceptionEncoding.decode(byte[], int, int)