Translatorpublic class HexTranslator extends java.lang.Object implements Translator
| Constructor | Description |
|---|---|
HexTranslator() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
decode(byte[] in,
int inOff,
int length,
byte[] out,
int outOff) |
|
int |
encode(byte[] in,
int inOff,
int length,
byte[] out,
int outOff) |
|
int |
getDecodedBlockSize() |
size of the output block on decoding produced by getEncodedBlockSize()
bytes.
|
int |
getEncodedBlockSize() |
size of the output block on encoding produced by getDecodedBlockSize()
bytes.
|
public int getEncodedBlockSize()
getEncodedBlockSize in interface Translatorpublic int encode(byte[] in,
int inOff,
int length,
byte[] out,
int outOff)
encode in interface Translatorpublic int getDecodedBlockSize()
getDecodedBlockSize in interface Translatorpublic int decode(byte[] in,
int inOff,
int length,
byte[] out,
int outOff)
decode in interface Translator