external data representation (xdr) is a standard data serialization format, 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, 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 ietf standard in 1995. the xdr data format is in use by many systems, including: * network file system (protocol) * zfs file system * ndmp network data management protocol * open network computing remote procedure call * legato networker backup software (later sold 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, api and ui *the firebird (database server) for remote binary wire protocol == xdr data types == * boolean * int â 32-bit integer * unsigned int â unsigned 32-bit integer * hyper â 64-bit integer * unsigned hyper â unsigned 64-bit integer * ieee float * ieee double * quadruple (new in rfc1832) * enumeration * structure * string * fixed length array * variable length array * union â discriminated union * fixed length opaque data * variable length opaque data * void â zero byte quantity * optional â optional data is notated similarly to c pointers, but is represented as
Data_modeling_languages Data_serialization_formats Data_transmission Internet_Standards Internet_protocols Networking_standards