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.
Readonly
The type code of its class (Python: the class attribute _type_ through the instance, e.g. "i").
_type_
"i"
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