Constructor and Description |
---|
GsmToPcmEncoder()
Creates a new GsmToPcmEncoder
|
Modifier and Type | Method and Description |
---|---|
int |
encode(byte[] in_buff,
int in_offset,
int in_len,
byte[] out_buff,
int out_offset)
Encodes the input chunk in_buff and returns the encoded chuck into out_buff.
|
public int encode(byte[] in_buff, int in_offset, int in_len, byte[] out_buff, int out_offset)
encode
in interface Encoder
in_buff
- buffer containing the input datain_offset
- offset within the input bufferin_len
- length of the input dataout_buff
- buffer for the output data (where the encoded data is written)out_offset
- offset within the output buffer