Constructor and Description |
---|
EightBit() |
Modifier and Type | Method and Description |
---|---|
ReadBuffer |
decode(byte[] in) |
ReadBuffer |
decode(byte[] in,
int offset,
int length) |
ReadBuffer |
decode(ReadBuffer in) |
ReadBuffer |
decode(String str) |
String |
encode(byte[] in) |
String |
encode(String str) |
String |
getName() |
public String encode(byte[] in)
public String encode(String str)
encode
in interface Encoding
Encoding.encode(byte[])
public ReadBuffer decode(byte[] in) throws DecodingException
decode
in interface Encoding
DecodingException
Encoding.decode(byte[], int, int)
public ReadBuffer decode(byte[] in, int offset, int length) throws DecodingException
decode
in interface Encoding
DecodingException
public ReadBuffer decode(String str) throws DecodingException
decode
in interface Encoding
DecodingException
Encoding.decode(byte[], int, int)
public ReadBuffer decode(ReadBuffer in) throws DecodingException
decode
in interface Encoding
DecodingException
Encoding.decode(byte[], int, int)