Yeecy·FollowMay 12, 2022--1Share跟 RSCoder 沒關係,不過你可以在呼叫 RSCoder.encode() 的時候指定 return_string 為 False,這樣會得到一個包含 n 個 GF2int 的 list,接著用 int() 就能把一個 GF2int 轉成 int。不過要提醒一下 return_string 這個參數沒有被紀錄在 documentation 上,無法確定是作者疏漏還是故意為之,因此不能排除未來被移除的可能(機率非常低就是了)。