| | |
- Error
-
- ConversionError
- Packer
- Unpacker
class Error |
| |
Exception class for this module. Use:
except xdrlib.Error, var:
# var has the Error instance for the exception
Public ivars:
msg -- contains the message |
| |
Methods defined here:
- __init__(self, msg)
- __repr__(self)
- __str__(self)
Data and non-method functions defined here:
- __doc__ = 'Exception class for this module. Use:\n\n ex...rs:\n msg -- contains the message\n\n '
- __module__ = 'xdrlib'
|
class Packer |
| |
Pack various data representations into a buffer. |
| |
Methods defined here:
- __init__(self)
- get_buf = get_buffer(self)
- get_buffer(self)
- pack_array(self, list, pack_item)
- pack_bool(self, x)
- pack_bytes = pack_string(self, s)
- pack_double(self, x)
- pack_enum = pack_uint(self, x)
- pack_farray(self, n, list, pack_item)
- pack_float(self, x)
- pack_fopaque = pack_fstring(self, n, s)
- pack_fstring(self, n, s)
- pack_hyper = pack_uhyper(self, x)
- pack_int = pack_uint(self, x)
- pack_list(self, list, pack_item)
- pack_opaque = pack_string(self, s)
- pack_string(self, s)
- pack_uhyper(self, x)
- pack_uint(self, x)
- reset(self)
Data and non-method functions defined here:
- __doc__ = 'Pack various data representations into a buffer.'
- __module__ = 'xdrlib'
|
|