jawa.util.flags.
Flags
Bases: object
object
Convenience class for handling bit flags.
get
Returns the value of the field name.
pack
A shortcut for struct.pack(flag.binary_format, flag.value).
set
Sets the value of the field name to value, which is True or False.
to_dict
Returns this Flags object’s fields as a dictionary.
unpack
A shortcut for struct.unpack(flag.binary_format, <bytes>).
value
The numeric value of the bitfield.