Package org.bouncycastle.util.encoders
Class BufferedDecoder
java.lang.Object
org.bouncycastle.util.encoders.BufferedDecoder
A buffering class to allow translation from one format to another to
be done in discrete chunks.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
processByte
(byte in, byte[] out, int outOff) int
processBytes
(byte[] in, int inOff, int len, byte[] out, int outOff)
-
Field Details
-
buf
protected byte[] buf -
bufOff
protected int bufOff -
translator
-
-
Constructor Details
-
BufferedDecoder
- Parameters:
translator
- the translator to use.bufSize
- amount of input to buffer for each chunk.
-
-
Method Details
-
processByte
public int processByte(byte in, byte[] out, int outOff) -
processBytes
public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
-