#how can i get the size of the contents in a txt file?
1 messages · Page 1 of 1 (latest)
note: this may not work for all files, particularly on linux, where fake files (like those you find in /sys/ and /proc/ report a size of 0)
btw theres a helper function for this https://ziglang.org/documentation/master/std/#std.fs.File.getEndPos