public abstract class ValueSetter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValueSetter.NDR |
static class |
ValueSetter.XDR |
Modifier and Type | Field and Description |
---|---|
byte |
endian |
Constructor and Description |
---|
ValueSetter(ByteSetter data,
byte endian) |
Modifier and Type | Method and Description |
---|---|
void |
setByte(byte value)
Get a byte, should be equal for all endians
|
void |
setDouble(double data)
Get a double.
|
void |
setInt(int value) |
protected abstract void |
setInt(int value,
int index)
Get a 32-Bit integer
|
void |
setLong(long value) |
protected abstract void |
setLong(long data,
int index)
Get a long value.
|
String |
toString() |
public ValueSetter(ByteSetter data, byte endian)
public void setByte(byte value)
public void setInt(int value)
public void setLong(long value)
protected abstract void setInt(int value, int index)
protected abstract void setLong(long data, int index)
public void setDouble(double data)
Copyright © 2014. All rights reserved.