Class MemoryBuffer
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from BIO :
__del__ ,
bio_ptr ,
fileno ,
flush ,
m2_bio_free ,
readable ,
readline ,
readlines ,
reset ,
should_read ,
should_retry ,
should_write ,
write ,
writeable
|
__init__(self,
data=None)
(Constructor)
|
|
- Overrides:
BIO.__init__
|