File.reads: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/io/file.bend as File Lines 65-68 of ezx@1.11.0.0/src/io/file.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/io/file.bend&start_line=65&end_line=68 import Base # the reads a file of this many bytes takes: one for every 64 KiB, one for # the part past the last whole 64 KiB, and one to spare for a short read def reads(+bytes: U32) -> Nat: reads.given(U32.is_zero(bytes), bytes) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_zero https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/io/file.bend&name=reads.given