Part of twisted.vfs.adapters.stream View Source View In Hierarchy
Implements interfaces: twisted.web2.stream.IByteStream
|Method||__init__||Create the stream from leaf. If you specify start and length, use only that portion of the leaf.|
|Method||read||Read some data.|
|Method||close||Prematurely close this stream. Should also cause further reads to return None. Additionally, .length should be set to 0.|
Inherited from SimpleStream:
|Method||split||Split this stream into two, at byte position 'point'.|
Read some data.
Returns an object conforming to the buffer interface, or if there is no more data available, returns None. Can also return a Deferred resulting in one of the above.Errors may be indicated by exception or by a Deferred of a Failure.