Basic types

Type Description
bool
Boolean type with the possible values false / true
int8
Signed 8 bit integer. Range: -27 to 27-1
int16
Signed 16 bit integer. Range: -215 to 215-1
int32
Signed 32 bit integer. Range: -231 to 231-1
int64
Signed 64 bit integer. Range: -263 to 263-1
uint8
Unsigned 8 bit integer. Range: 0 to 28-1
uint16
Unsigned 16 bit integer. Range: 0 to 218-1
uint32
Unsigned 32 bit integer. Range: 0 to 232-1
uint64
Unsigned 64 bit integer. Range: 0 to 264-1
float32
32 bit (single precision) floating point number
float64
64 bit (double precision) floating point number
char8
For UTF-8 encodings of strings
char16
For UTF-16 encodings of strings
string8
Equivalent to xvector<char8>
string16
Equivalent to xvector<char16>