public abstract class ValueGetter extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ValueGetter.BigEndian |
protected static class |
ValueGetter.LittleEndian |
| Modifier and Type | Field and Description |
|---|---|
protected EndianInputStream |
data |
| Constructor and Description |
|---|
ValueGetter(InputStream data,
boolean bigEndian) |
| Modifier and Type | Method and Description |
|---|---|
static ValueGetter |
create(InputStream in) |
byte |
getByte()
Get a byte, should be equal for all endians
|
double |
getDouble() |
abstract int |
getInt() |
abstract long |
getLong() |
boolean |
isBigEndian() |
protected EndianInputStream data
public ValueGetter(InputStream data, boolean bigEndian)
public static ValueGetter create(InputStream in)
public byte getByte()
public double getDouble()
public abstract int getInt()
public abstract long getLong()
public boolean isBigEndian()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.