Movatterモバイル変換


[0]ホーム

URL:


Previous PageUp One LevelNext PagePython Library ReferenceContentsModule IndexIndex
Previous:11.20.3 DateTime ObjectsUp:11.20 xmlrpclibNext:11.20.5 Fault Objects

 
11.20.4 Binary Objects

This class may initialized from string data (which may include NULs).The primary acess to the content of aBinary object isprovided by an attribute:

data
The binary data encapsulated by theBinary instance. The datais provided as an 8-bit string.

Binary objects have the following methods, supported mainlyfor internal use by the marshalling/unmarshalling code:

decode(string)
Accept a base64 string and decode it as the instance's new data.

encode(out)
Write the XML-RPC base 64 encoding of this binary item to the outstream object.

It also supports certain of Python's built-in operators through a_cmp__() method.


Previous PageUp One LevelNext PagePython Library ReferenceContentsModule IndexIndex
Previous:11.20.3 DateTime ObjectsUp:11.20 xmlrpclibNext:11.20.5 Fault Objects
Release 2.2.3, documentation updated on 30 May 2003.
SeeAbout this document... for information on suggesting changes.
[8]ページ先頭

©2009-2026 Movatter.jp