[[FrontPage]]

byteからintに
* byteからintに [#we39ec88]

data=b'\x7e'
a=int.from_bytes(data,bteorder='big')
print(a)
 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