Package org.teavm.backend.wasm.binary
Class DataValue
- java.lang.Object
-
- org.teavm.backend.wasm.binary.DataValue
-
public abstract class DataValue extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAddress(int index)bytegetByte(int index)doublegetDouble(int index)floatgetFloat(int index)intgetInt(int index)longgetLong(int index)shortgetShort(int index)DataTypegetType()DataValuegetValue(int index)voidsetAddress(int index, long value)voidsetByte(int index, byte value)voidsetDouble(int index, double value)voidsetFloat(int index, float value)voidsetInt(int index, int value)voidsetLong(int index, long value)voidsetShort(int index, short value)
-
-
-
Method Detail
-
getType
public DataType 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
public DataValue getValue(int index)
-
-