Part of bzrlib.bundle.serializer.v4 View In Hierarchy
This serves roughly the same purpose as ContainerReader, but acts as a layer on top of it, providing metadata, a semantic name, and a record body
Method | __init__ | Constructor |
Static Method | iter_decode | Iterate through decoded fragments of the file |
Static Method | decode_name | Decode a name from its container form into a semantic form |
Method | iter_records | Iterate through bundle records |
Parameters | fileobj | a file containing a bzip-encoded container |
stream_input | If True, the BundleReader stream input rather than reading it all into memory at once. Reading it into memory all at once is (currently) faster. |