[[FrontPage]]

* byteからintに [#we39ec88]

 data=b'\x7e'
 a=int.from_bytes(data,bteorder='big')
 print(a)
 b=bin(a)
 c=data.decode()

*byte列からintに [#r3614d3b]

 a=b'\x34'
 b=b'\x35'
 c=a+b
 int(c)

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS