原码反码补码在线工具

原码反码补码在线工具
https://www.23bei.com/tool/56.html

在线进制转换器:
https://c.runoob.com/front-end/58/

在线UTF-8编码转换:
http://www.esjson.com/utf8Encode.html

16进制转32位有符号整型(毛玲玲)
https://cryptii.com/pipes/integer-encoder

Python bin() 函数

返回一个整数 int 或者长整数 long int 的二进制表示。

print(bin(12))
print(type(bin(12)))

控制台输出

0b1100
<class 'str'>

进程已结束,退出代码0

Python hex() 函数

将10进制整数转换成16进制,以字符串形式表示。

posted @ 2022-05-16 12:38  孤舟浮岸  阅读(4120)  评论(0)    收藏  举报