External Data Representation

External Data Representation (XDR) is a technical standard format for data serialization, for uses such as computer network protocols.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 4 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

(Learn how and when to remove this message)

External Data Representation (XDR) is a technical standard format for data serialization, for uses such as computer network protocols. It allows data to be transferred between different kinds of computer systems. Converting from the local representation to XDR is called encoding. Converting from XDR to the local representation is called decoding. XDR is implemented as a software library of functions which is portable between different operating systems and is also independent of the transport layer.

XDR uses a base unit of 4 bytes, 32 bits, serialized in big-endian order; smaller data types still occupy four bytes each after encoding. Variable-length types such as string and opaque are padded to a total divisible by four bytes. Floating-point numbers are represented in IEEE 754 format.

History

edit edit source

XDR was developed in the mid 1980s at Sun Microsystems, and first widely published in 1987.[2] XDR became an Internet Engineering Task Force (IETF) Internet Standard in 1995.

The XDR data format is in use by many systems, including:

XDR data types

edit edit source

See also

edit edit source

References

edit edit source
  1. ^ "X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification". Archived from the original on 1 February 2021. Retrieved 10 March 2023. Wikipedia revision 1374164078, retrieved 2026-11-18
  2. ^ Sun Microsystems (1 June 1987). "XDR: External Data Representation Standard". RFC 1014. Network Working Group. doi:10.17487/RFC1014. Retrieved 20 June 2025. Wikipedia revision 1374164078, retrieved 2026-11-18
edit edit source

The XDR standard exists in three different versions in the following RFCs:

Data exchange formatsHuman
readable
Binary Comparison of data-serialization formats

Text derived from https://en.wikipedia.org/w/index.php?oldid=1374164078 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia “External Data Representation” revision 1374164078 · retrieved 2026-10-20 publication date (×1) · confidence 0.95 revision URL