Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
StreamIOWrapper Class Reference
Inheritance diagram for StreamIOWrapper:

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

## Static Public Attributes
| 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__()

__init__ | ( |  | self,
|  |  | stream,
|  |  | needsVfsClose = False )

## Member Function Documentation

## ◆ __repr__()

__repr__ | ( |  | self | ) |

## ◆ close()

close | ( |  | self | ) |

## ◆ flush()

flush | ( |  | self | ) |

## ◆ read()

read | ( |  | self,
|  |  | size = -1 )

## ◆ readable()

readable | ( |  | self | ) |

## ◆ readline()

readline | ( |  | self,
|  |  | size = -1 )

## ◆ seek()

seek | ( |  | self,
|  |  | offset,
|  |  | whence = 0 )

## ◆ tell()

tell | ( |  | self | ) |

## ◆ writable()

writable | ( |  | self | ) |

## ◆ write()

write | ( |  | self,
|  |  | b )

## ◆ writelines()

writelines | ( |  | self,
|  |  | lines )

## Member Data Documentation

## ◆ read1

read1 = read
| static