b.p.ContainerPushParser(object) : class documentation

Part of bzrlib.pack View In Hierarchy

A "push" parser for container format 1.

It accepts bytes via the accept_bytes method, and parses them into records which can be retrieved via the read_pending_records method.

Method __init__ Undocumented
Method accept_bytes Undocumented
Method read_pending_records Undocumented
Method read_size_hint Undocumented
Method _reset_current_record Undocumented
Method _consume_line Take a line out of the buffer, and return the line.
Method _state_expecting_format_line Undocumented
Method _state_expecting_record_type Undocumented
Method _state_expecting_length Undocumented
Method _state_expecting_name Undocumented
Method _state_expecting_body Undocumented
Method _state_expecting_nothing Undocumented
def __init__(self):
Undocumented
def _reset_current_record(self):
Undocumented
def accept_bytes(self, bytes):
Undocumented
def read_pending_records(self, max=None):
Undocumented
def _consume_line(self):
Take a line out of the buffer, and return the line.

If a newline byte is not found in the buffer, the buffer is unchanged and this returns None instead.

def _state_expecting_format_line(self):
Undocumented
def _state_expecting_record_type(self):
Undocumented
def _state_expecting_length(self):
Undocumented
def _state_expecting_name(self):
Undocumented
def _state_expecting_body(self):
Undocumented
def _state_expecting_nothing(self):
Undocumented
def read_size_hint(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.