当前位置:网站首页>浮点数通信
浮点数通信
2022-06-30 00:24:00 【WX_LW】
浮点数:11.34
16进制:413570A4
发送:000000000006010300020002
返回:000000000007010304A4703541 传送选择:little endian
返回:00000000000701030470A44135 传送选择:little endian byte swap
返回:000000000007010304413570A4 传送选择:big endian
返回:0000000000070103043541A470 传送选择:big endian byte swap
1.Little-Endian就是低位字节排放在内存的低地址端,高位字节排放在内存的高地址端。
2.Big-Endian就是高位字节排放在内存的低地址端,低位字节排放在内存的高地址端。
3.网络字节序:TCP/IP各层协议将字节序定义为Big-Endian,因此TCP/IP协议中使用的字节序通常称之为网络字节序。
比如 int a = 0x05060708
在BIG-ENDIAN的情况下存放为:
字节号 0 1 2 3
数据 05 06 07 08
在LITTLE-ENDIAN的情况下存放为:
字节号 0 1 2 3
数据 08 07 06 05
边栏推荐
- MySQL基础3
- 视频ToneMapping(HDR转SDR)中的颜色空间转换问题(BT2020转BT709,YCbCr、YUV和RGB)
- JVM之栈空间
- Solr basic operations 12
- Code analysis platform sonarqube actual combat
- Sword finger offer II 035 Minimum time difference
- 【毕业季|进击的技术er】工作七年的职场人,不希望你们再走弯路
- About SQL: create a view_ XB view, whose function is ① to delete views with duplicate names before creating them ② to display the number of male and female students in this class in the XSB table, and
- [rust weekly library] Tokei - a utility for statistics of code lines and other information
- There is no web-based development for the reward platform. Which is suitable for native development or mixed development?
猜你喜欢

Quick Pow: 如何快速求幂

8 software engineering environment

数据中台的五个关键要素
![[rust weekly library] Tokei - a utility for statistics of code lines and other information](/img/6c/4569cc0edaa01e4605c9c256193c31.png)
[rust weekly library] Tokei - a utility for statistics of code lines and other information

After 8 years of polishing, "dream factory of game design" released an epic update!

Activity invitation | the Apache Doris community essay and speech solicitation activity has begun!
![[advanced C language] string and memory function (I)](/img/fa/5531253940d99f2646cb6964992e7c.png)
[advanced C language] string and memory function (I)

MySQL高级篇1

SSH key disclosure (module B competition topic) -- Application Service Vulnerability scanning and utilization

There is no web-based development for the reward platform. Which is suitable for native development or mixed development?
随机推荐
【服装软件】服装出产办理体系选型的准则有哪些?
简要的说一下:Fragment 间的通信方式?
This PMP Exam (June 25), some people are happy and others are worried. That's why
[graduation season 𞓜 advanced technology Er] employees who have worked for seven years do not want you to take another detour
《性能之巅第2版》阅读笔记(四)--Memory监测
Andorid source build/envsetup. SH details to know
Three postures of anti CSRF blasting
[QNX Hypervisor 2.2用户手册]6.2.2 Guest与Host之间通信
MySQL高级篇2
Solr基础操作16
DOM 知识点总结
HDCP Paring
SQL Server database addition, deletion, modification and query statements
Vulnhub target -moriartycorp
Solr基础操作11
单位固定资产怎么管理,行政单位的固定资产应该怎么管理
How to write controller layer code gracefully?
克隆无向图[bfs访问每条边而不止节点]
Solr基础操作8
MySQL基础2