On Friday, 29 July 2022 at 10:59:02 UTC, Guillaume Piolat wrote:
Ask for what you want...

Since it's super easy to calculate the amount of memory required to hold the decompressed data... If you'd add a buffer parameter (akin to std.stdio.File.rawRead/Write), a slice to allocated memory that holds the decompressed data, people could use their allocator of choice to allocate the buffer and your lib would not just be @nogc but @no_allocation.

Reply via email to