Package org.teavm.interop
Class Address
java.lang.Object
org.teavm.interop.Address
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(int offset)
add(long offset)
static Address
long
static Address
fromInt(int value)
static Address
fromLong(long value)
byte
getByte()
char
getChar()
double
float
getFloat()
int
getInt()
long
getLong()
short
getShort()
boolean
isLessThan(Address other)
static Address
ofData(byte[] data)
static Address
ofData(char[] data)
static Address
ofData(double[] data)
static Address
ofData(float[] data)
static Address
ofData(int[] data)
static Address
ofData(long[] data)
static Address
ofData(short[] data)
static Address
static Address
void
putAddress(Address value)
void
putByte(byte value)
void
putChar(char value)
void
putDouble(double value)
void
putFloat(float value)
void
putInt(int value)
void
putLong(long value)
void
putShort(short value)
static int
sizeOf()
int
toInt()
long
toLong()
<T extends Structure>
T
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
add
-
add
-
isLessThan
-
toInt
public int toInt() -
toLong
public long toLong() -
toStructure
-
getByte
public byte getByte() -
putByte
public void putByte(byte value) -
getChar
public char getChar() -
putChar
public void putChar(char value) -
getShort
public short getShort() -
putShort
public void putShort(short value) -
getInt
public int getInt() -
putInt
public void putInt(int value) -
getLong
public long getLong() -
putLong
public void putLong(long value) -
getFloat
public float getFloat() -
putFloat
public void putFloat(float value) -
getDouble
public double getDouble() -
putDouble
public void putDouble(double value) -
getAddress
-
putAddress
-
fromInt
-
fromLong
-
ofObject
-
ofData
-
ofData
-
ofData
-
ofData
-
ofData
-
ofData
-
ofData
-
ofData
-
align
-
sizeOf
public static int sizeOf() -
add
-
diff
-