public abstract static class DataSection.Data extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Data(int alignment,
int size) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
emit(ByteBuffer buffer,
DataSection.Patches patches) |
boolean |
equals(Object obj) |
int |
getAlignment() |
int |
getSize() |
int |
hashCode() |
String |
toString() |
void |
updateAlignment(int newAlignment)
Updates the alignment of the current data segment.
|
protected abstract void emit(ByteBuffer buffer, DataSection.Patches patches)
public void updateAlignment(int newAlignment)
newAlignment - The new alignmentpublic int getAlignment()
public int getSize()