Module xsettings

Source
Expand description

Parser for the xsettings data format.

Some of this code is referenced from here.

Structsยง

Parser ๐Ÿ”’
Parser for the incoming byte stream.
Setting ๐Ÿ”’
A setting in the settings list.

Enumsยง

Endianness ๐Ÿ”’
Endianness of the incoming data.
ParserError
Parser errors.
SettingData ๐Ÿ”’
The data contained in a setting.
SettingType

Constantsยง

BIG_ENDIAN ๐Ÿ”’
DPI_MULTIPLIER ๐Ÿ”’
DPI_NAME ๐Ÿ”’
LITTLE_ENDIAN ๐Ÿ”’

Functionsยง

read_settings ๐Ÿ”’
Read over the settings in the block of data.

Type Aliasesยง

Result ๐Ÿ”’