dulwich.protocol(View In Hierarchy)
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.|
|Parameters||write||A write callback for the underlying writer.|
|bufsize||The internal buffer size, including length prefixes.|