b.s.p.LengthPrefixedBodyDecoder(_StatefulDecoder) : class documentation

Part of bzrlib.smart.protocol View In Hierarchy

Decodes the length-prefixed bulk data.
Method __init__ Undocumented
Method next_read_size Undocumented
Method read_pending_data Return any pending data that has been decoded.
Method _state_accept_expecting_length Undocumented
Method _state_accept_reading_body Undocumented
Method _state_accept_reading_trailer Undocumented
Method _state_accept_reading_unused Undocumented
Method _state_read_no_data Undocumented
Method _state_read_body_buffer Undocumented

Inherited from _StatefulDecoder:

Method accept_bytes Decode as much of bytes as possible.
Method _get_in_buffer Undocumented
Method _get_in_bytes Grab X bytes from the input_buffer.
Method _set_in_buffer Undocumented
def __init__(self):
Undocumented
def next_read_size(self):
Undocumented
def read_pending_data(self):
Return any pending data that has been decoded.
def _state_accept_expecting_length(self):
Undocumented
def _state_accept_reading_body(self):
Undocumented
def _state_accept_reading_trailer(self):
Undocumented
def _state_accept_reading_unused(self):
Undocumented
def _state_read_no_data(self):
Undocumented
def _state_read_body_buffer(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-10-23 00:34:42.