class documentation
Converter for data sections best interpreted as boolean flags
The data section is expected to have length one.
Class Method | get |
Converts bytes -> bool, where any nonzero value is truthy |
Class Method | set |
Converts bool -> bytes, where b'\x80' is truthy and b'\x00' is falsy |