12.13 xdrlib -- Encode and decode XDR data.

The xdrlib module supports the External Data Representation Standard as described in RFC 1014, written by Sun Microsystems, Inc. June 1987. It supports most of the data types described in the RFC.

The xdrlib module defines two classes, one for packing variables into XDR representation, and another for unpacking from XDR representation. There are also two exception classes.

Packer ()
Packer is the class for packing data into XDR representation. The Packer class is instantiated with no arguments.

Unpacker (data)
Unpacker is the complementary class which unpacks XDR data values from a string buffer. The input buffer is given as data.

Send comments on this document to python-docs@python.org.