Vector
Vector

Represents a Vector of values

valuesType
ValueType valuesType() const

Gets how each value within the Vector is stored

Returns

A ValueType representing how each value in the Vector is stored

size
uint16 size() const

Gets how many values are within the Vector

Returns

The number of values within the Vector

as_floatAt
float as_floatAt(
uint16 index
) const

Gets the value stored at the given 0-based index, as a 4-byte float

Parameters
index
uint16

The 0-based index of which to get the value

Returns

The value stored at the given index, as a float

Exceptions
as_uint16At
uint16 as_uint16At(
uint16 index
) const

Gets the value stored at the given 0-based index, as a 2-byte unsigned integer

Parameters
index
uint16

The 0-based index of which to get the value

Returns

The value stored at the given index, as an uint16

Exceptions
as_uint8At
uint8 as_uint8At(
uint16 index
) const

Gets the value stored at the given 0-based index, as a 1-byte uint8

Parameters
index
uint16

The 0-based index of which to get the value

Returns

The value stored at the given index, as an uint8

Exceptions
str
std::string str() const

Creates a string from the Vector

Returns

A string representing the entire Vector object (ex. "[1.2,3.4,5.6]")