我有一个像这样的二进制文件:
offset | size/type | Description
-------+-----------+-----------------------------------------------------------
0x0000 | 28 chars | zero terminated string
0x001c | 1 dword | fileoffset of first compressed data block (header size)
0x0020 | 1 dword | overall size of compressed file
我可以将 28 个字符读取为字符串。但我不知道如何读取 dword 并将其存储为 int。