BendMlBinaryRead.read_f32: 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 21-28 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=21&end_line=28 import Base # Reads n numbers (4 * n bytes) at byte `offset` of `file` into cells 0 .. n-1 of `a`, stopping at # a's capacity and at the end of the file. Answers the file, the array and the number of bytes # read, or the error; the file's position does not move. A short read leaves the cells past it as # they were (a last partial number writes only its bytes). def read_f32(file: File, offset: U32, n: U32, a: Array) -> IO(File & (Array & Result<&1, &1, U32 & String, U32>)): import "./read_f32.c" import "./read_f32.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