|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encode and decode byte arrays (typically from binary to 7-bit ASCII encodings).
Method Summary | |
int |
decode(byte[] data,
int off,
int length,
java.io.OutputStream out)
|
int |
decode(java.lang.String data,
java.io.OutputStream out)
|
int |
encode(byte[] data,
int off,
int length,
java.io.OutputStream out)
|
int |
getEncodedLength(int inputLength)
Return the expected output length of the encoding. |
int |
getMaxDecodedLength(int inputLength)
Return the maximum expected output length of a decoding. |
Method Detail |
public int getEncodedLength(int inputLength)
inputLength
- the input length of the data.
public int getMaxDecodedLength(int inputLength)
inputLength
- the input length of the encoded data.
public int encode(byte[] data, int off, int length, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public int decode(byte[] data, int off, int length, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public int decode(java.lang.String data, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |