Is there a way to clear an OutBuffer?

Jon Degenhardt via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 22 11:59:38 PDT 2016


Is there a way to clear an OutBuffer, but without freeing the 
internally managed buffer? Something similar to 
std.array.appender.clear method. Intent would be to reuse the 
OutBuffer, but without reallocating memory for the buffer.

--Jon


More information about the Digitalmars-d-learn mailing list