org.bouncycastle.util.encoders

Interface Encoder

public interface Encoder

Encode and decode byte arrays (typically from binary to 7-bit ASCII encodings).
Method Summary
intdecode(byte[] data, int off, int length, OutputStream out)
intdecode(String data, OutputStream out)
intencode(byte[] data, int off, int length, OutputStream out)

Method Detail

decode

public int decode(byte[] data, int off, int length, OutputStream out)

decode

public int decode(String data, OutputStream out)

encode

public int encode(byte[] data, int off, int length, OutputStream out)