Fixed-size OutBuffer that doesn't call .resize() automatically? (for database page buffers)

frame frame86 at live.com
Mon Aug 15 22:47:21 UTC 2022


On Monday, 15 August 2022 at 20:51:07 UTC, Gavin Ray wrote:

> Is there an alternative to `OutBuffer` or a method you can call 
> to set a byte limit on the resizing?

Are you looking for a circular buffer?

https://code.dlang.org/packages/ringbuffer


More information about the Digitalmars-d-learn mailing list