Package org.bouncycastle.util.encoders
Interface Translator
- 
- All Known Implementing Classes:
 HexTranslator
public interface TranslatorGeneral interface for a translator. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intdecode(byte[] in, int inOff, int length, byte[] out, int outOff)intencode(byte[] in, int inOff, int length, byte[] out, int outOff)intgetDecodedBlockSize()size of the output block on decoding produced by getEncodedBlockSize() bytes.intgetEncodedBlockSize()size of the output block on encoding produced by getDecodedBlockSize() bytes. 
 - 
 
- 
- 
Method Detail
- 
getEncodedBlockSize
int getEncodedBlockSize()
size of the output block on encoding produced by getDecodedBlockSize() bytes. 
- 
encode
int encode(byte[] in, int inOff, int length, byte[] out, int outOff) 
- 
getDecodedBlockSize
int getDecodedBlockSize()
size of the output block on decoding produced by getEncodedBlockSize() bytes. 
- 
decode
int decode(byte[] in, int inOff, int length, byte[] out, int outOff) 
 - 
 
 -