当前位置:网站首页>Introduction to hexadecimal coding
Introduction to hexadecimal coding
2022-07-03 08:19:00 【AI fish head with chopped pepper】
Introduction to hex
Hexadecimal is a number with 16 A cardinal counting system , This means that each number represents 16 A different number , Rather than 10 In a cardinal system 10 A digital . Systems usually use numbers 0-9 Before presentation 10 position , Then use the letters A-F After 6 position . It is not a historical counting system , But it originated in the electronic age , Because it is a very friendly extension of binary system .
Computers use a simple 2 Binary counting system , Called binary . However , This is quite troublesome for human interaction . Hexadecimal provides a more efficient way to correlate binary values , This is because 16 yes 2 The fourth power of , So a number can be regarded as four binary numbers .
let me put it another way , Any four digit value in binary can be expressed as “ Hexadecimal ” One digit of , The eight digit value in binary can be expressed as two hexadecimal digits , And so on . This is similar to what we usually use base-10 The system forms a contrast , The latter will not match binary digits of any consistent multiple evenly .
Although a larger basic system is used in the calculation , such as base-32 Systems and base-64 System , But hexadecimal is easier for most people to interact , So it is still the most common .Base-32 and base-64 Both have applications in Computing , But they are rarely used anywhere , But for the deepest coding .
Hexadecimal coding table
Code value | character | 2 Base number |
---|---|---|
0 | 0 | 0000 |
1 | 1 | 0001 |
2 | 2 | 0010 |
3 | 3 | 0011 |
4 | 4 | 0100 |
5 | 5 | 0101 |
6 | 6 | 0110 |
7 | 7 | 0111 |
8 | 8 | 1000 |
9 | 9 | 1001 |
10 | A | 1010 |
11 | B | 1011 |
12 | C | 1100 |
13 | D | 1101 |
14 | E | 1110 |
15 | F | 1111 |
Using tools http://www.lzltool.com/hex Hexadecimal can be parsed Online , Convert hex to string or Base64、 or Base64Url Format
边栏推荐
猜你喜欢
方正锐利重磅升级到12.0版本,包装印前处理更加便捷、高效!
数据的存储
My touch screen production "brief history" 2
Some understandings of 3dfiles
L'installateur a été installé avec une erreur inattendue
C course design employee information management system
MAE
CLion-Toolchains are not configured Configure Disable profile问题解决
[global product discovery 2] the first pure cloud augmented reality (AR) platform - Israel
[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)
随机推荐
P2704 [NOI2001] 炮兵阵地(状压dp)
Image processing 8-cnn image classification
Chain length value
Map的实现类的顺序性
Lua hot update basic grammar
Base64 and base64url
the installer has encountered an unexpected error installing this package
Transplantation of tslib Library
Delete the last character of the string in golang
链式长取值
Lua framwrok framework starts
Golang 中string和int类型相互转换
Puhua PLM empowers the whole scene product lifecycle management and helps the enterprise digital transformation of the main line of products
數據庫應用技術課程設計之商城管理系統
Osgearth north arrow display
C#课程设计之员工信息管理系统
How to establish rectangular coordinate system in space
Base64和Base64URL
Golang's range
Conversion between string and int types in golang