Package org.teavm.backend.wasm.binary
Class DataValue
java.lang.Object
org.teavm.backend.wasm.binary.DataValue
-
Method Summary
Modifier and TypeMethodDescriptionlong
getAddress
(int index) byte
getByte
(int index) double
getDouble
(int index) float
getFloat
(int index) int
getInt
(int index) long
getLong
(int index) short
getShort
(int index) getType()
getValue
(int index) void
setAddress
(int index, long value) void
setByte
(int index, byte value) void
setDouble
(int index, double value) void
setFloat
(int index, float value) void
setInt
(int index, int value) void
setLong
(int index, long value) void
setShort
(int index, short value)
-
Method Details
-
getType
-
getByte
public byte getByte(int index) -
setByte
public void setByte(int index, byte value) -
getShort
public short getShort(int index) -
setShort
public void setShort(int index, short value) -
getInt
public int getInt(int index) -
setInt
public void setInt(int index, int value) -
getLong
public long getLong(int index) -
setLong
public void setLong(int index, long value) -
getAddress
public long getAddress(int index) -
setAddress
public void setAddress(int index, long value) -
getFloat
public float getFloat(int index) -
setFloat
public void setFloat(int index, float value) -
getDouble
public double getDouble(int index) -
setDouble
public void setDouble(int index, double value) -
getValue
-