b.v.NetworkRecordStream(object) : class documentation

Part of bzrlib.versionedfile View In Hierarchy

A record_stream which reconstitures a serialised stream.
Method __init__ Create a NetworkRecordStream.
Method read Read the stream.
def __init__(self, bytes_iterator):
Create a NetworkRecordStream.
Parametersbytes_iteratorAn iterator of bytes. Each item in this iterator should have been obtained from a record_streams' record.get_bytes_as(record.storage_kind) call.
def read(self):
Read the stream.
ReturnsAn iterator as per VersionedFiles.get_record_stream().
API Documentation for Bazaar, generated by pydoctor at 2019-07-17 00:29:20.