How to read an entire text file line by line into memory efficiently?

std.fs.Dir.readFileAlloc

4 Likes