BendMlBinaryRead.read_f32_at: def of bend-ml-binary-read@0.2.0.0 Import: import bend-ml-binary-read@0.2.0.0/main.bend as BendMlBinaryRead Lines 36-43 of bend-ml-binary-read@0.2.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bend-ml-binary-read@0.2.0.0/main.bend&start_line=36&end_line=43 import Base # As read_f32, at the byte offset hi * 2^32 + lo, and it answers the number of whole numbers read (not bytes), so a # read of up to 2^32 - 1 numbers (16 GiB) answers its count in a U32. Reads n numbers into cells 0 .. n-1 of `a`, # stopping at a's capacity and at the end of the file; the file's position does not move. A short read leaves the # cells past it as they were, except that a last partial number writes only its bytes, as in read_f32. def read_f32_at(file: File, hi: U32, lo: U32, n: U32, a: Array) -> IO(File & (Array & Result<&1, &1, U32 & String, U32>)): import "./read_at.c" import "./read_at.js" Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=File https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO 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