public interface Encoding
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() |
String getName()
String encode(byte[] in) throws EncodingException
in
- EncodingException
String encode(String str) throws EncodingException
str
- EncodingException
encode(byte[])
ReadBuffer decode(byte[] in) throws DecodingException
in
- DecodingException
decode(byte[], int, int)
ReadBuffer decode(byte[] in, int offset, int length) throws DecodingException
in
- offset
- length
- DecodingException
ReadBuffer decode(String str) throws DecodingException
str
- DecodingException
decode(byte[], int, int)
ReadBuffer decode(ReadBuffer in) throws DecodingException
in
- DecodingException
decode(byte[], int, int)