0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/Io/File/Reader.zig
Ryan Liptak efd227eca2 File.Reader.seekBy: Fix erroneously tossing the buffer in streaming mode
The discard already handles updating the state, so the toss was redundant in the best case and would erroneously drop data in the worst case.

Closes #36568
2026-08-20 08:29:34 +02:00

378 lines
12 KiB