当前位置:网站首页>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
边栏推荐
- C language - Introduction - essence Edition - take you into programming (I)
- 数据分析练习题
- Golang 中string和int类型相互转换
- the installer has encountered an unexpected error installing this package
- matlab神经网络所有传递函数(激活函数)公式详解
- the installer has encountered an unexpected error installing this package
- P1896 [SCOI2005] 互不侵犯(状压dp)
- One dimensional array two dimensional array (sort Max insert sort)
- L'installateur a été installé avec une erreur inattendue
- WPF:解决MaterialDesign:DialogHost 无法关闭问题
猜你喜欢
Detailed explanation of all transfer function (activation function) formulas of MATLAB neural network
數據庫應用技術課程設計之商城管理系統
Clion toolchains are not configured configure disable profile problem solving
Open the influence list of "National Meteorological Short Videos (Kwai, Tiktok) in November" in an interactive way“
WPF:解决MaterialDesign:DialogHost 无法关闭问题
[set theory] order relation (the relation between elements of partial order set | comparable | strictly less than | covering | Haas diagram)
Storage of data
Lua framwrok framework starts
Are you still watching the weather forecast on TV?
Wechat applet taro learning record
随机推荐
Base64和Base64URL
[cloud native] introduction and use of feign of microservices
MaxCompute字符串分割函数-SPLIT_PART
Use filechannel to copy files
Golang中删除字符串的最后一个字符
图像处理8-CNN图像分类
Zohocrm deluge function application time verification
Unity change default editor
Easy touch plug-in
【音视频】ijkplayer错误码
P1596 [USACO10OCT]Lake Counting S
Free use until 2015 -- viz artist multi touch plug-in package
Luaframwrok handles resource updates
Some understandings of 3dfiles
YOLO系列 --- xml2txt脚本
简易入手《SOM神经网络》的本质与原理
P1896 [scoi2005] non aggression (shape pressure DP)
一条通往服务器所有端口的隧道
【K&R】中文第二版 个人题解 Chapter1
Display terrain database on osgearth ball