public class EightBit extends Encoding
コンストラクタ | 説明 |
---|---|
EightBit() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
ReadBuffer |
decode(byte[] in,
int offset,
int length) |
|
ReadBuffer |
decode(ReadBuffer in) |
This implementation just calls decode(in.content, in.offset, in.length).
|
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
クラス内 Encoding
EncodingException
- alwayspublic ReadBuffer decode(byte[] in, int offset, int length) throws DecodingException
decode
クラス内 Encoding
DecodingException
public ReadBuffer decode(ReadBuffer in) throws DecodingException
Encoding
decode
クラス内 Encoding
DecodingException
Encoding.decode(byte[], int, int)