解決辦法. 根據@nneonneo的答案,這裡有一個函式可以模擬到位元組的API: def to_bytes(n, length, endianess='big'): h = '%x' % n s = ('0'*(len(h) ...
確定! 回上一頁