Comment Comment by Szpadel why not free previous smaller chunk after reader finished reading from it?for me it would be better to allocate new buffer but allow reading from old one until it contains data and after that dealocate it and keep only new one in use parent Szpadel 2 years ago
for me it would be better to allocate new buffer but allow reading from old one until it contains data and after that dealocate it and keep only new one in use