public class Location
extends java.lang.Object
Constructor and Description |
---|
Location(byte[] data) |
Location(Location loc,
long offset) |
Location(long addr) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkDataFits(long dataLength)
Check if there is enough space in the location to overlay a layout.
|
byte[] |
getData()
Return array that stores the data of the layout bound to it in bytes.
|
long |
getOffset()
Return the offset of the location at which memory is allocated.
|
public Location(byte[] data)
public Location(Location loc, long offset)
public Location(long addr)
public boolean checkDataFits(long dataLength)
datalength
- of the layout to be overlaid.public byte[] getData()
public long getOffset()