File.file.unsized: def of snap@1.4.0.0 Import: import snap@1.4.0.0/src/file.bend as File Lines 50-54 of snap@1.4.0.0/src/file.bend: https://jend.leeeet.dev/read.txt?path=snap@1.4.0.0/src/file.bend&start_line=50&end_line=54 import Base # the reads a file with no size to go by may take: a pipe, a device or a # /proc file reports 0 bytes and a file past 4 GiB fails to report, so these # are read until they end, up to 100000 reads of 64 KiB def file.unsized() -> Nat: U32.to_nat(100000) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat