SubStream

from panda3d.core import SubStream
class SubStream

Bases:

Bases: iostream

Combined ISubStream and OSubStream for bidirectional I/O.

Inheritance diagram

Inheritance diagram of SubStream

__init__()
__init__(nested: StreamWrapper, start: int, end: int, append: bool)
close() SubStream

Resets the SubStream to empty, but does not actually close the nested ostream.

open(nested: StreamWrapper, start: int, end: int, append: bool) SubStream

Starts the SubStream reading and writing from the indicated nested stream, within the indicated range. “end” is the first character outside of the range.

If end is zero, it indicates that the SubStream will continue until the end of the nested stream.