Public Member Functions | Static Public Attributes | List of all members
StreamIOWrapper Class Reference
Inheritance diagram for StreamIOWrapper:

Public Member Functions

def __init__ (self, stream, needsVfsClose=False)
def __repr__ (self)
def close (self)
def flush (self)
def read (self, size=-1)
def readable (self)
def readline (self, size=-1)
def seek (self, offset, whence=0)
def tell (self)
def writable (self)
def write (self, b)
def writelines (self, lines)

Static Public Attributes

def read1 = read

Detailed Description

This is a file-like object that wraps around a C++ istream and/or
ostream object.  It only deals with binary data; to work with text I/O,
create an io.TextIOWrapper object around this, or use the open()
function that is also provided with this module. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  needsVfsClose = False 

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

◆ close()

def close (   self)

◆ flush()

def flush (   self)

◆ read()

def read (   self,
  size = -1 

◆ readable()

def readable (   self)

◆ readline()

def readline (   self,
  size = -1 

◆ seek()

def seek (   self,
  whence = 0 

◆ tell()

def tell (   self)

◆ writable()

def writable (   self)

◆ write()

def write (   self,

◆ writelines()

def writelines (   self,

Member Data Documentation

◆ read1

def read1 = read