V2EX  ›  英汉词典

Byte-order

定义 Definition

byte-order(字节序)指在多字节数据(如 16/32/64 位整数)中,各个字节在内存或网络传输中的排列顺序。最常见的两种是大端序(big-endian)小端序(little-endian)。(在计算机网络中常说“网络字节序”通常指大端序。)

发音 Pronunciation (IPA)

/ˈbaɪt ˌɔːrdər/

例句 Examples

The file format specifies byte-order for all integers.
该文件格式为所有整数规定了字节序。

When decoding the packet, convert fields from network byte-order to the host’s native byte-order to avoid incorrect values.
解码数据包时,把字段从网络字节序转换为主机本地字节序,以免出现错误数值。

词源 Etymology

byte-orderbyte(字节)+ order(顺序)构成,是计算机体系结构与网络通信中逐渐固定下来的技术术语,用来描述“多字节数值的字节排列规则”。在不同 CPU 架构与协议标准之间交换数据时,这一概念尤为关键。

相关词 Related Words

文学与著作 Literary Works

  • TCP/IP Illustrated, Volume 1》(W. Richard Stevens):讲解网络协议细节时频繁涉及network byte order与主机字节序转换。
  • Computer Networks》(Andrew S. Tanenbaum):在介绍协议与数据表示时会讨论字节序与跨平台互操作。
  • 多份 IETF RFC(如与 IP/TCP/UDP 相关的规范):常用“network byte order”来规定字段在网络上传输的字节排列方式。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   671 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 21:02 · PVG 05:02 · LAX 13:02 · JFK 16:02
♥ Do have faith in what you're doing.