|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.util.encoders.HexTranslator
public class HexTranslator
Converters for going from hex to binary and back. Note: this class assumes ASCII processing.
Constructor Summary | |
---|---|
HexTranslator()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HexTranslator()
Method Detail |
---|
public int getEncodedBlockSize()
getEncodedBlockSize
in interface Translator
public int encode(byte[] in, int inOff, int length, byte[] out, int outOff)
encode
in interface Translator
public int getDecodedBlockSize()
getDecodedBlockSize
in interface Translator
public int decode(byte[] in, int inOff, int length, byte[] out, int outOff)
decode
in interface Translator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |