public abstract class ValueGetter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValueGetter.NDR |
static class |
ValueGetter.XDR |
Modifier and Type | Field and Description |
---|---|
byte |
endian |
Constructor and Description |
---|
ValueGetter(ByteGetter data,
byte endian) |
Modifier and Type | Method and Description |
---|---|
byte |
getByte()
Get a byte, should be equal for all endians
|
double |
getDouble()
Get a double.
|
int |
getInt() |
protected abstract int |
getInt(int index)
Get a 32-Bit integer
|
long |
getLong() |
protected abstract long |
getLong(int index)
Get a long value.
|
public ValueGetter(ByteGetter data, byte endian)
public byte getByte()
public int getInt()
public long getLong()
protected abstract int getInt(int index)
protected abstract long getLong(int index)
public double getDouble()
Copyright © 2014. All rights reserved.