Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
php代码
$body = unpack("Lcmd/Lstatus/a*username", $body_string);
我想用 python 代码替换这一行。怎么做?
struct.error: unpack 需要一个长度为 17 的字符串参数
cnt = unpack('LLs', body_string)