public class EightBit extends Encoding
| コンストラクタ | 説明 |
|---|---|
EightBit() |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
Buffer |
decode(byte[] in,
int offset,
int length) |
|
Buffer |
decode(Buffer in) |
This implementation just calls decode(in.content, in.offset, in.length).
|
void |
decode(java.io.InputStream in,
Buffer out) |
Copy in to out, unchanged
|
java.lang.String |
encode(byte[] in) |
TODO would be nice to implement this, as it is supported on the project server,
but content must be CRLF terminated with a max of 998 chars per line.
|
java.lang.String |
getName() |
public java.lang.String encode(byte[] in)
throws EncodingException
encode クラス内 EncodingEncodingException - alwayspublic Buffer decode(byte[] in, int offset, int length)
public Buffer decode(Buffer in)
Encodingdecode クラス内 EncodingEncoding.decode(byte[], int, int)public void decode(java.io.InputStream in,
Buffer out)
throws java.io.IOException
decode クラス内 EncodingDecodingExceptionjava.io.IOExceptionEncoding.decode(byte[], int, int)