@ehsandeep how encode decode int to little-endian big-endian uint16 uint32 more see https://docs.python.org/3/library/struct.html thanks