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

Part of bzrlib.smart.protocol View In Hierarchy

Decoder for chunked body data.

This is very similar the HTTP's chunked encoding. See the description of streamed body data in doc/developers/network-protocol.txt for details.

Method __init__ Undocumented
Method next_read_size Undocumented
Method read_next_chunk Undocumented
Method _extract_line Undocumented
Method _finished Undocumented
Method _state_accept_expecting_header Undocumented
Method _state_accept_expecting_length Undocumented
Method _state_accept_reading_chunk Undocumented
Method _state_accept_reading_unused 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_next_chunk(self):
Undocumented
def _extract_line(self):
Undocumented
def _finished(self):
Undocumented
def _state_accept_expecting_header(self):
Undocumented
def _state_accept_expecting_length(self):
Undocumented
def _state_accept_reading_chunk(self):
Undocumented
def _state_accept_reading_unused(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.