On Monday, 8 October 2018 at 09:39:55 UTC, John Burton wrote:
My use case is sending data to a socket.

One part of my program generates blocks of bytes, and the socket part tries to send them to the socket and then removes from the queue the number that got sent.

[...]

Try searching for "circular buffer". I'm sure http://code.dlang.org/packages/iopipe has them in some form but I can't find them with a cursory search.

Reply via email to