V2EX  ›  英汉词典

Byteorder

Definition / 释义

byteorder(字节序):在计算机中,多字节数据(如 16 位、32 位、64 位整数)在内存或网络传输时的字节排列顺序。常见有大端(big-endian)小端(little-endian)。(该词也常写作 byte order。)

Pronunciation / 发音

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

Examples / 例句

The file format specifies the byteorder for all integers.
该文件格式规定了所有整数的字节序。

If you read binary data from another machine, you may need to convert the byteorder to avoid incorrect values.
如果你从另一台机器读取二进制数据,可能需要转换字节序,否则数值会解析错误。

Etymology / 词源

byte(字节) + order(顺序) 组合而成,用来描述“字节的排列方式”。在跨平台与网络通信中,为了让不同硬件架构正确理解同一段二进制数据,这个概念尤为重要。

Related Words / 相关词

Literary Works / 文学与著作例证

  • Computer Systems: A Programmer’s Perspective(Randal E. Bryant, David R. O’Hallaron):讲解数据表示与不同体系结构下的字节序问题。
  • TCP/IP Illustrated, Volume 1: The Protocols(W. Richard Stevens):涉及“网络字节序(network byte order)”与协议字段解析。
  • UNIX Network Programming(W. Richard Stevens):讨论主机字节序与网络字节序之间的转换(如相关 API 的使用)。
  • RFC 791(Internet Protocol)等网络规范:隐含/规定多字节字段的传输顺序,与字节序概念密切相关。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   818 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 23:18 · PVG 07:18 · LAX 15:18 · JFK 18:18
♥ Do have faith in what you're doing.