External Data Representation
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.
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== XDR was developed in the mid 1980s at Sun Microsystems, and first widely published in 1987. XDR became an Internet Engineering Task Force (IETF) Internet Standard in 1995. The XDR data format is in use by many systems, including: Network File System protocol ZFS, former Zettabyte File System Network Data Management Protocol (NDMP) Open Network Computing Remote Procedure Call (Sun RPC) EMC NetWorker, former Legato NetWorker, backup software, sold later by EMC NetCDF, a scientific data format The R language and environment for statistical computing The HTTP-NG binary wire protocol The SpiderMonkey JavaScript engine, to serialize/deserialize compiled JavaScript code The Ganglia distributed monitoring system The sFlow network monitoring standard The libvirt virtualization library, application programming interface (API) and user interface (UI) The Firebird (database server) for remote binary wire protocol Stellar payment network ==See also== Structured Data eXchange Format (SDXF) Remote procedure call Abstract Syntax Notation One (ASN.1) Data Format Description Language Comparison of data-serialization formats ==References== ==External links== The XDR standard exists in three different versions in the following RFCs: 2006 This document makes no technical changes to RFC 1832 and is published for the purposes of noting IANA considerations, augmenting security considerations, and distinguishing normative from informative references. 1995 version. Added quadruple precision floating point to RFC 1014. 1987 version. Cisco's XDR: Technical Notes , the main source file of SpiderMonkey that uses XDR protocol.cpp main xdr source file used in Firebird remote protocol Mu Dynamics Research Labs racc grammar for XDR IvmaiAsn ASN1/ECN/XDR Tools (a collection of tools containing an XDR/RPC-to-ASN.1 converter)
References
- X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification · retrieved 2026-11-17 · rev 1374164078
Cite this reference
MLA "X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification." "X. 2026-11-17. https://www.itu.int/rec/T-REC-X.225-199511-I/en. Accessed 24 November 2026.
Chicago "X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification." "X. 2026-11-17. https://www.itu.int/rec/T-REC-X.225-199511-I/en.
APA "X. (2026). X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification. Retrieved November 24, 2026, from https://www.itu.int/rec/T-REC-X.225-199511-I/en
- XDR: External Data Representation Standard · retrieved 2026-11-17 · rev 1374164078
Cite this reference
MLA "XDR: External Data Representation Standard." Sun Microsystems (1 June 1987). 2026-11-17. http://tools.ietf.org/html/rfc1014. Accessed 24 November 2026.
Chicago "XDR: External Data Representation Standard." Sun Microsystems (1 June 1987). 2026-11-17. http://tools.ietf.org/html/rfc1014.
APA Sun Microsystems (1 June 1987). (2026). XDR: External Data Representation Standard. Retrieved November 24, 2026, from http://tools.ietf.org/html/rfc1014
- External Data Representation · retrieved 2026-10-19 · rev 1374164078
Cite this reference
MLA "External Data Representation." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1374164078. Accessed 24 November 2026.
Chicago "External Data Representation." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1374164078.
APA Wikipedia. (2026). External Data Representation. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1374164078
Cite this article
MLA
"External Data Representation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/external-data-representation. Accessed 24 November 2026.
Chicago
"External Data Representation." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/external-data-representation.
APA
encyclopegia.org. (2026). External Data Representation. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/external-data-representation
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 1987 | Wikipedia |