public class BytesDoubleConverter extends Object implements Converter<double[]>
Modifier and Type | Method and Description |
---|---|
void |
decode(ByteBuffer source,
double[] array)
Reads samples from the byte buffer and writes the resulting values to the
provided array.
|
void |
encode(double[] array,
ByteBuffer target)
Writes the given array to the target byte buffer using the given
byte order, bytes per sample etc.
|
void |
encode(double[] array,
int length,
ByteBuffer target)
Writes the given array to the target byte buffer using the given
byte order, bytes per sample etc.
|
static BytesDoubleConverter |
getInstance(boolean bigEndian) |
public static BytesDoubleConverter getInstance(boolean bigEndian)
public void decode(ByteBuffer source, double[] array)
Converter
public void encode(double[] array, ByteBuffer target)
Converter
public void encode(double[] array, int length, ByteBuffer target)
Converter
Copyright © 2011–2018 tagtraum industries incorporated. All rights reserved.