Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
Binary Class Reference

Public Member Functions

def __init__
 
def __cmp__
 
def decode
 
def encode
 

Data Fields

 data
 

Detailed Description

Wrapper for binary data.

Definition at line 277 of file xmlrpclib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  data = None 
)

Definition at line 280 of file xmlrpclib.py.

281  def __init__(self, data=None):
282  self.data = data

Member Function Documentation

def __cmp__ (   self,
  other 
)
def decode (   self,
  data 
)

Definition at line 288 of file xmlrpclib.py.

References UserDict.data, UserList.data, UserString.data, _localized_month.data, _localized_day.data, SubPattern.data, _Hqxcoderengine.data, WeakKeyDictionary.data, MutableString.data, _Rlecoderengine.data, Request.data, simple_producer.data, Binary.data, _Environ.data, FormContentDict.data, and base64.decodestring().

289  def decode(self, data):
290  import base64
291  self.data = base64.decodestring(data)
def encode (   self,
  out 
)

Definition at line 292 of file xmlrpclib.py.

References UserDict.data, UserList.data, UserString.data, _localized_month.data, _localized_day.data, SubPattern.data, _Hqxcoderengine.data, WeakKeyDictionary.data, MutableString.data, _Rlecoderengine.data, Request.data, simple_producer.data, Binary.data, _Environ.data, FormContentDict.data, and base64.encode().

293  def encode(self, out):
294  import base64, StringIO
295  out.write("<value><base64>\n")
297  out.write("</base64></value>\n")

Field Documentation

data

Definition at line 281 of file xmlrpclib.py.


The documentation for this class was generated from the following file: