File.reads.of: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/io/file.bend as File Lines 70-76 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=70&end_line=76 import Base # the reads the size the host reported allows def reads.of(res: Result<&1, &1, U32 & String, U32>) -> Nat: match res: case Fail{_e}: unsized() case Done{bytes}: reads(bytes) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/io/file.bend&name=reads https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/io/file.bend&name=unsized