Support 2 byte parameter id
Krolken opened this issue · 0 comments
Krolken commented
In newer version of i-flag the paramteres have been extendend and now include numbers that are not representable with one byte.
The second byte is padded with 1:s on the left half of the byte.
Ex: 284 -> 0x100 -> b"\xf1\x20"
Need to investigate when the initial values is padded with \xf0. It could be when the first byte contains 4 1:s in the left half. so that it is not confused with the start of a 2 byte parameter.