mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-12 09:57:00 +02:00
The existing `read_entire` is quite slow due to allocating and copying multiple times, but it is simultaneously quite hard to get rid of in a single step. As a replacement, add a new function that reads as much as possible directly into a user-provided buffer.
14 KiB
14 KiB