Writer that wraps its data in pkt-lines and has an independent buffer.

Consecutive calls to write() wrap the data in a pkt-line and then buffers it until enough lines have been written such that their total length (including length prefix) reach the buffer size.

Method __init__ Initialize the BufferedPktLineWriter.
Method write Write data, wrapping it in a pkt-line.
Method flush Flush all data from the buffer.
def __init__(self, write, bufsize=65515):
Initialize the BufferedPktLineWriter.
ParameterswriteA write callback for the underlying writer.
bufsizeThe internal buffer size, including length prefixes.
def write(self, data):
Write data, wrapping it in a pkt-line.
def flush(self):
Flush all data from the buffer.
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.