Logo Search packages:      
Sourcecode: m2crypto version File versions  Download package

M2Crypto::BIO::MemoryBuffer Class Reference

Inheritance diagram for M2Crypto::BIO::MemoryBuffer:

M2Crypto::BIO::BIO

List of all members.


Detailed Description

Object interface to BIO_s_mem. 

Empirical testing suggests that this class performs less well than cStringIO, 
because cStringIO is implemented in C, whereas this class is implemented in 
Python. Thus, the recommended practice is to use cStringIO for regular work and 
convert said cStringIO object to a MemoryBuffer object only when necessary.

Definition at line 100 of file BIO.py.


Public Member Functions

def __del__
def __init__
def __init__
def __len__
def close
def fileno
def flush
def read
def readable
def readline
def readlines
def reset
def write
def write_close
def writeable

Public Attributes

 bio
 closed
 write_closed

Static Public Attributes

 bio_ptr = _ptr
 close = write_close
 getvalue = read_allread

Private Attributes

 _pyfree

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

Generated by  Doxygen 1.6.0   Back to index