A bit field definition created by the bitfield function.
class Flags extends Structure { static _fields_ = [ ["enabled", bitfield(c_uint32, 1)], ["mode", bitfield(c_uint32, 3)], ];} Copy
class Flags extends Structure { static _fields_ = [ ["enabled", bitfield(c_uint32, 1)], ["mode", bitfield(c_uint32, 3)], ];}
Readonly
The underlying integer type.
Number of bits.
Size of the base type in bytes.
A bit field definition created by the bitfield function.
Example