Module:CTypes/doc

A Lua library for mimicking C data types as defined in stdint.h, mostly used for implementing game functions on the wiki. The operations performed here should produce the same result as if they are performed on C or C++. Functions can be accessed through  where   is the data type and   is the function. Not all functions are implemented since they are implemented as they are needed, and unimplemented functions will throw an error.

Undefined C behavior (e.g. signed overflow) will throw an error.

Functions
All functions return their respective data types.