Creates a new read buffer.
Deallocates the internal buffer.
Clears the buffer.
Returns a free chunk of the buffer.
Appends some data to the buffer.
Size by which the buffer will grow.
Internal buffer.
Filled buffer length.
Available space.
Last position returned with $(D_KEYWORD []).
Start of available data.
Self-expanding buffer, that can be used with functions returning the number of the read bytes.
This buffer supports asynchronous reading. It means you can pass a new chunk to an asynchronous read function during you are working with already available data. But only one asynchronous call at a time is supported. Be sure to call $(D_PSYMBOL ReadBuffer.clear()) before you append the result of the pended asynchronous call.