Instance of a simple C data type.
const x = new c_int32(42);console.log(x.value); // 42console.log(x._buffer); // <Buffer 2a 00 00 00> Copy
const x = new c_int32(42);console.log(x.value); // 42console.log(x._buffer); // <Buffer 2a 00 00 00>
The current value.
The underlying memory buffer.
OUT conversion; defaults to the value for builtins and the instance for subclasses.
Instance of a simple C data type.
Example