public interface Encoder
Modifier and Type | Method and Description |
---|---|
int |
encode(byte[] in_buf,
int in_off,
int in_len,
byte[] out_buf,
int out_off)
Encodes an input chunk of data.
|
int encode(byte[] in_buf, int in_off, int in_len, byte[] out_buf, int out_off)
in_buf
- buffer containing the input datain_off
- offset within the input bufferin_len
- length of the input dataout_buf
- buffer for the output data (where the encoded data is written)out_off
- offset within the output buffer