mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
This adds a ringbuffer implementation that targets bytes sending. The ringbuffer can grow when there's not enough room, that's why it's not thread-safe (locking must be done externally). It will be shrinked to its initial size as soon as the used bytes are the half of the initial size.