|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Converter
Interface describing conversion of bytes to string and vice versa.
| Method Summary | |
|---|---|
String |
fromBytes(byte[] input)
Converts a byte array to a formatted/encoded string. |
String |
fromBytes(byte[] input,
int offset,
int length)
Converts a byte array to a formatted/encoded string. |
byte[] |
toBytes(String input)
Converts a formatted/encoded string to raw bytes. |
| Method Detail |
|---|
String fromBytes(byte[] input)
input - Input bytes.
String fromBytes(byte[] input,
int offset,
int length)
input - Input bytes.offset - Offset into input bytes at which to begin processing.length - Number of bytes of input data to process.
byte[] toBytes(String input)
input - Formatted/encoded input string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||