public class MuLawDecoderUtil
extends java.lang.Object
| Constructor and Description |
|---|
MuLawDecoderUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
muLawDecode(boolean bigEndian,
byte[] data,
int offset,
int len,
byte[] decoded) |
static short |
muLawDecode(byte mulaw)
Decode one mu-law byte
|
static void |
muLawDecodeBigEndian(byte[] data,
int offset,
int len,
byte[] decoded) |
static void |
muLawDecodeLittleEndian(byte[] data,
int offset,
int len,
byte[] decoded)
Decode an array of mu-law encoded bytes
|
public static short muLawDecode(byte mulaw)
mulaw - The encoded mu-law bytepublic static void muLawDecodeLittleEndian(byte[] data,
int offset,
int len,
byte[] decoded)
data - An array of mu-law encoded bytesdecoded - An array of bytes in Little-Endian format containing the results, must be twice as big as data.public static void muLawDecodeBigEndian(byte[] data,
int offset,
int len,
byte[] decoded)
public static void muLawDecode(boolean bigEndian,
byte[] data,
int offset,
int len,
byte[] decoded)