Package org.bouncycastle.util.encoders
Class BufferedDecoder
- java.lang.Object
 - 
- org.bouncycastle.util.encoders.BufferedDecoder
 
 
- 
public class BufferedDecoder extends java.lang.ObjectA buffering class to allow translation from one format to another to be done in discrete chunks. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected byte[]bufprotected intbufOffprotected Translatortranslator 
- 
Constructor Summary
Constructors Constructor Description BufferedDecoder(Translator translator, int bufSize) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intprocessByte(byte in, byte[] out, int outOff)intprocessBytes(byte[] in, int inOff, int len, byte[] out, int outOff) 
 - 
 
- 
- 
Field Detail
- 
buf
protected byte[] buf
 
- 
bufOff
protected int bufOff
 
- 
translator
protected Translator translator
 
 - 
 
- 
Constructor Detail
- 
BufferedDecoder
public BufferedDecoder(Translator translator, int bufSize)
- Parameters:
 translator- the translator to use.bufSize- amount of input to buffer for each chunk.
 
 - 
 
 -