Files.read_bytes: def of bend-kit-files@0.3.1.0 Import: import bend-kit-files@0.3.1.0/files.bend as Files Lines 202-207 of bend-kit-files@0.3.1.0/files.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-files@0.3.1.0/files.bend&start_line=202&end_line=207 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes # The existing Bytes layout, without an octet List or String. def read_bytes(file: File, max: U32) -> IO(File & Result<&1, &1, U32 & String, Bytes.Bytes>): do IO>: pair : File & Result<&1, &1, U32 & String, U32 & Array> <- read.words(file, max) return read_bytes.pair(pair) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array 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=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure 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=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-files@0.3.1.0/files.bend&name=read.words https://jend.leeeet.dev/definition.txt?path=bend-kit-files@0.3.1.0/files.bend&name=read_bytes.pair