pro*_*eek 7 c++ python serialization
我在Python中使用struct.pack将数据转换为序列化字节流.
>>> import struct
>>> struct.pack('i', 1234)
'\xd2\x04\x00\x00'
Run Code Online (Sandbox Code Playgroud)
C++中的等价是什么?
| 归档时间: |
|
| 查看次数: |
5527 次 |
| 最近记录: |