GNU Info

Info Node: (python2.1-lib.info)xdrlib

(python2.1-lib.info)xdrlib


Next: mailcap Prev: binascii Up: Internet Data Handling
Enter node , (file) or (file)node

Encode and decode XDR data
==========================

Encoders and decoders for the External Data Representation (XDR).

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.

See also:
    *RFC1014 XDR: External Data Representation Standard*
          This RFC defined the encoding of data which was XDR at the
          time this module was originally written.  It has appearantly
          been obsoleted by RFC 1832 .

    *RFC1832 XDR: External Data Representation Standard*
          Newer RFC that provides a revised definition of XDR.

Packer Objects
Unpacker Objects
Exceptions

automatically generated by info2www version 1.2.2.9