Value object

The Value object represents a C variable in memory

Operation Description
Value comparison Compares the Value
Value concatenation Concatenates the Value with another string
Value length operator Get the size of the Value in memory
Value math operations Uses the Value with various Lua mathematical operators
Value string conversion Converts the Value to a Lua string
Property Description Access Type
Value.size Get the Value size in memory readonly number
Value.type Get the type of the C Value readonly string
Methods Description Return value
Value:as() Cast the Value to another C type
Value:constructor() Value object constructor
Value:tonumber() Convert the C Value to a Lua number number
Value:tostring() Convert the C Value to a Lua string string