public class

BufferedDecoder

extends Object
java.lang.Object
   ↳ org.bouncycastle.util.encoders.BufferedDecoder

Class Overview

a buffering class to allow translation from one format to another to be done in discrete chunks.

Summary

Fields
protected byte[] buf
protected int bufOff
protected Translator translator
Public Constructors
BufferedDecoder(Translator translator, int bufSize)
Public Methods
int processByte(byte in, byte[] out, int outOff)
int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected byte[] buf

protected int bufOff

protected Translator translator

Public Constructors

public BufferedDecoder (Translator translator, int bufSize)

Parameters
translator the translator to use.
bufSize amount of input to buffer for each chunk.

Public Methods

public int processByte (byte in, byte[] out, int outOff)

public int processBytes (byte[] in, int inOff, int len, byte[] out, int outOff)