| Modifier and Type | Field and Description |
|---|---|
protected int |
offset |
| Constructor and Description |
|---|
FieldByte(java.lang.String structName,
int fieldNumber) |
| Modifier and Type | Method and Description |
|---|---|
byte |
get(Nd nd,
long address) |
java.lang.String |
getFieldName()
Returns the name of the field.
|
int |
getOffset()
Returns the field offset, in bytes from the start of the struct.
|
int |
getRecordSize()
Returns the size of the field, in bytes.
|
void |
put(Nd nd,
long address,
byte newValue) |
protected void |
setFieldName(java.lang.String fieldName) |
void |
setOffset(int offset)
Sets the field offset (bytes from the start of the struct).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlignmentpublic byte get(Nd nd, long address)
public void put(Nd nd, long address, byte newValue)
public int getRecordSize()
IFieldprotected final void setFieldName(java.lang.String fieldName)
public final void setOffset(int offset)
IFieldpublic final int getOffset()
IFieldpublic final java.lang.String getFieldName()
IFieldgetFieldName in interface IField