18.24.4 Binary Objects
This class may be initialized from string data (which may include NULs).
The primary access to the content of a Binary object is
provided by an attribute:
- data
-
The binary data encapsulated by the Binary instance. The data
is provided as an 8-bit string.
Binary objects have the following methods, supported mainly
for internal use by the marshalling/unmarshalling code:
-
Accept a base64 string and decode it as the instance's new data.
-
Write the XML-RPC base 64 encoding of this binary item to the out
stream object.
It also supports certain of Python's built-in operators through a
__cmp__() method.
Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.
|