def slurp.end
import bolt@1.27.0.0/src/lsp/files/disk.bend as Diskimport Base
import bolt@1.27.0.0/src/lsp/frame.bend as Frame
11def slurp.end(file: File, acc: List<&2, U32>) -> IO(Maybe<&2, String>):
12 do IO<Maybe<&2, String>>:
13 File.close(file)
14 return Some{Frame.decode(List.reverse(&2, U32, acc))}