public class BufferedEncoder
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected byte[] |
buf |
|
protected int |
bufOff |
|
protected Translator |
translator |
Constructor | Description |
---|---|
BufferedEncoder(Translator translator,
int bufSize) |
Modifier and Type | Method | Description |
---|---|---|
int |
processByte(byte in,
byte[] out,
int outOff) |
|
int |
processBytes(byte[] in,
int inOff,
int len,
byte[] out,
int outOff) |
protected byte[] buf
protected int bufOff
protected Translator translator
public BufferedEncoder(Translator translator, int bufSize)
translator
- the translator to use.bufSize
- amount of input to buffer for each chunk.