Hi,
in the code of this project, one can read:
message_length = struct.unpack("@I", raw_length)[0]
In the MDN's documentation, one can read:
message_length = struct.unpack('=I', raw_length)[0]
Would you mind telling me why you chose to use "@I" for the format instead of "=I"?
The related Python documentation is at: https://docs.python.org/2/library/struct.html
Hi,
in the code of this project, one can read:
In the MDN's documentation, one can read:
Would you mind telling me why you chose to use
"@I"for the format instead of"=I"?The related Python documentation is at: https://docs.python.org/2/library/struct.html