XSETTINGS binary foormat encoder/decoder