from panda3d.core import SubStream
Combined ISubStream and OSubStream for bidirectional I/O.
__init__() → None¶
__init__(nested: StreamWrapper, start: streamoff, end: streamoff, append: bool) → None
open(nested: StreamWrapper, start: streamoff, end: streamoff, 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.
- Return type