public interface

Translator

org.bouncycastle.util.encoders.Translator
Known Indirect Subclasses

Class Overview

general interface for an translator.

Summary

Public Methods
abstract int decode(byte[] in, int inOff, int length, byte[] out, int outOff)
abstract int encode(byte[] in, int inOff, int length, byte[] out, int outOff)
abstract int getDecodedBlockSize()
size of the output block on decoding produced by getEncodedBlockSize() bytes.
abstract int getEncodedBlockSize()
size of the output block on encoding produced by getDecodedBlockSize() bytes.

Public Methods

public abstract int decode (byte[] in, int inOff, int length, byte[] out, int outOff)

public abstract int encode (byte[] in, int inOff, int length, byte[] out, int outOff)

public abstract int getDecodedBlockSize ()

size of the output block on decoding produced by getEncodedBlockSize() bytes.

public abstract int getEncodedBlockSize ()

size of the output block on encoding produced by getDecodedBlockSize() bytes.