public class BufferedEncoder extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
bufOff |
protected Translator |
translator |
Constructor and Description |
---|
BufferedEncoder(Translator translator,
int bufSize) |
Modifier and Type | Method and 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.Copyright © 2015. All rights reserved.