public interface Translator
| Modifier and Type | Method and 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. 
 | 
int getEncodedBlockSize()
int encode(byte[] in,
           int inOff,
           int length,
           byte[] out,
           int outOff)
int getDecodedBlockSize()
int decode(byte[] in,
           int inOff,
           int length,
           byte[] out,
           int outOff)