Package M2Crypto :: Module BIO :: Class IOBuffer
[frames] | no frames]

Class IOBuffer




Object interface to BIO_f_buffer.

Its principal function is to be BIO_push()'ed on top of a BIO_f_ssl, so that makefile() of said underlying SSL socket works.

Instance Methods
 
m2_bio_pop(...)
 
m2_bio_free(...)
 
__init__(self, under_bio, mode='rwb', _pyfree=1)
 
__del__(self)
 
close(self)

Inherited from BIO: bio_ptr, fileno, flush, read, readable, readline, readlines, reset, should_read, should_retry, should_write, write, write_close, writeable

Method Details

m2_bio_free(...)

 
Overrides: SSL.Connection'.Connection.m2_bio_free

__init__(self, under_bio, mode='rwb', _pyfree=1)
(Constructor)

 
Overrides: BIO.__init__

__del__(self)
(Destructor)

 
Overrides: BIO.__del__

close(self)

 
Overrides: BIO.close