1. 首页
  2. 数据库
  3. 其它
  4. binreader:适用于Python的BinaryReader 源码

binreader:适用于Python的BinaryReader 源码

上传者: 2021-02-09 19:12:57上传 ZIP文件 3.18KB 热度 41次
binreader-用于Python的BinaryReader 适用于Python 3.6及更高版本的BinaryReader类。 用法 binreader.BinaryReader 实例化BinaryReader类: from binreader import BinaryReader with open ( "example.bin" , "rb" ) as f : reader = BinaryReader ( f ) print ( reader . read_int ()) # Reads an int32, returns a Python int 可以使用以下读取方
下载地址
用户评论