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