Modifier and Type | Field and Description |
---|---|
static ByteArrayCodec |
BIG_ENDIAN |
static ByteArrayCodec |
LITTLE_ENDIAN |
Modifier | Constructor and Description |
---|---|
protected |
ByteArrayCodec() |
Modifier and Type | Method and Description |
---|---|
byte |
getByte(byte[] b,
int boff) |
abstract ByteOrder |
getByteOrder() |
void |
getBytes(byte[] b,
int boff,
byte[] v,
int voff,
int vlen) |
abstract double |
getDouble(byte[] b,
int boff) |
abstract void |
getDoubles(byte[] b,
int boff,
double[] v,
int voff,
int vlen) |
abstract float |
getFloat(byte[] b,
int boff) |
abstract void |
getFloats(byte[] b,
int boff,
float[] v,
int voff,
int vlen) |
static ByteArrayCodec |
getInstance(ByteOrder byteOrder) |
abstract int |
getInt(byte[] b,
int boff) |
abstract void |
getInts(byte[] b,
int boff,
int[] v,
int voff,
int vlen) |
abstract long |
getLong(byte[] b,
int boff) |
abstract void |
getLongs(byte[] b,
int boff,
long[] v,
int voff,
int vlen) |
abstract short |
getShort(byte[] b,
int boff) |
abstract void |
getShorts(byte[] b,
int boff,
short[] v,
int voff,
int vlen) |
void |
setByte(byte[] b,
int boff,
byte v) |
void |
setBytes(byte[] b,
int boff,
byte[] v,
int voff,
int vlen) |
abstract void |
setDouble(byte[] b,
int boff,
double v) |
abstract void |
setDoubles(byte[] b,
int boff,
double[] v,
int voff,
int vlen) |
abstract void |
setFloat(byte[] b,
int boff,
float v) |
abstract void |
setFloats(byte[] b,
int boff,
float[] v,
int voff,
int vlen) |
abstract void |
setInt(byte[] b,
int boff,
int v) |
abstract void |
setInts(byte[] b,
int boff,
int[] v,
int voff,
int vlen) |
abstract void |
setLong(byte[] b,
int boff,
long v) |
abstract void |
setLongs(byte[] b,
int boff,
long[] v,
int voff,
int vlen) |
abstract void |
setShort(byte[] b,
int boff,
short v) |
abstract void |
setShorts(byte[] b,
int boff,
short[] v,
int voff,
int vlen) |
public static final ByteArrayCodec LITTLE_ENDIAN
public static final ByteArrayCodec BIG_ENDIAN
public static ByteArrayCodec getInstance(ByteOrder byteOrder)
public abstract ByteOrder getByteOrder()
public final byte getByte(byte[] b, int boff)
public abstract short getShort(byte[] b, int boff)
public abstract int getInt(byte[] b, int boff)
public abstract long getLong(byte[] b, int boff)
public abstract float getFloat(byte[] b, int boff)
public abstract double getDouble(byte[] b, int boff)
public final void getBytes(byte[] b, int boff, byte[] v, int voff, int vlen)
public abstract void getShorts(byte[] b, int boff, short[] v, int voff, int vlen)
public abstract void getInts(byte[] b, int boff, int[] v, int voff, int vlen)
public abstract void getLongs(byte[] b, int boff, long[] v, int voff, int vlen)
public abstract void getFloats(byte[] b, int boff, float[] v, int voff, int vlen)
public abstract void getDoubles(byte[] b, int boff, double[] v, int voff, int vlen)
public final void setByte(byte[] b, int boff, byte v)
public abstract void setShort(byte[] b, int boff, short v)
public abstract void setInt(byte[] b, int boff, int v)
public abstract void setLong(byte[] b, int boff, long v)
public abstract void setFloat(byte[] b, int boff, float v)
public abstract void setDouble(byte[] b, int boff, double v)
public final void setBytes(byte[] b, int boff, byte[] v, int voff, int vlen)
public abstract void setShorts(byte[] b, int boff, short[] v, int voff, int vlen)
public abstract void setInts(byte[] b, int boff, int[] v, int voff, int vlen)
public abstract void setLongs(byte[] b, int boff, long[] v, int voff, int vlen)
public abstract void setFloats(byte[] b, int boff, float[] v, int voff, int vlen)
public abstract void setDoubles(byte[] b, int boff, double[] v, int voff, int vlen)
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.