You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// to better understand the string '2h6x2h2x2H28x', please check the python's Struct Library documentation at : https://docs.python.org/3/library/struct.html
// The can analysed this way :
// 2h => Buffer must contains at least the size to code 2 "h" variable. A "h" variable is a "short" which needs 2 Bytes to be coded. We need 2 h -> We need 4 Bytes
// 6x => Buffer must contains at least the size to 'code' 2 "x" variable. A "x" variable is an unused byte. We need 6 x -> We need 6 Bytes
// 2h => Buffer must contains at least the size to code 2 "h" variable. A "h" variable is a "short" which needs 2 Bytes to be coded. We need 2 h -> We need 4 Bytes
// 2x => Buffer must contains at least the size to 'code' 2 "x" variable. A "x" variable is an unused byte. We need 2 x -> We need 2 Bytes
// 2H => Buffer must contains at least the size to code 2 "H" variable. A "H" variable is an " unsigned short" which needs 2 Bytes to be coded. We need 2 H -> We need 4 Bytes
// 28x => Buffer must contains at least the size to 'code' 28 "x" variable. A "x" variable is an unused byte. We need 28 x -> We need 28 Bytes
// to better understand the string '2q2hi', please check the python's Struct Library documentation at : https://docs.python.org/3/library/struct.html
// The can analysed this way :
// 2q => Buffer must contains at least the size to code 2 "q" variable. A "q" variable is a "long long" which needs 8 Bytes to be coded. We need 2 q -> We need 16 Bytes
// 2h => Buffer must contains at least the size to code 2 "l" variable. A "q" variable is a "long" which needs 4 Bytes to be coded. We need 2 l -> We need 8 Bytes
// i => Buffer must contains at least the size to code 1 "i" variable. A "i" variable is a "int" which needs 4 Bytes to be coded. We need 1 i -> We need 4 Bytes