PyATEM icon indicating copy to clipboard operation
PyATEM copied to clipboard

which format for payload ?

Open SNRSE opened this issue 4 years ago • 3 comments

hey i was wondering which foramt do you require for the payload ?

SNRSE avatar May 10 '20 18:05 SNRSE

well, the payload is a series of bytes... this module needs to be upgraded to python3, I guess, haven't touched it for a LOOOONG while, been busy elsewhere

sxpert avatar May 11 '20 06:05 sxpert

is there a function that coneverts a integer to byte ? so '0000' should work ?

SNRSE avatar May 11 '20 07:05 SNRSE

you're probably looking for struct.pack()

sxpert avatar May 11 '20 08:05 sxpert