Код: Выделить всё
1 Byte SF-Major
1 Byte SF-Minor
1 Byte SF-Patch
1 Byte SF-Build
2 Byte build (little endian)
Код: Выделить всё
format_string = (
'BBBB'
'
Подробнее здесь: [url]https://stackoverflow.com/questions/78530494/getting-bad-char-in-struct-format-when-reading-byte-data[/url]