Fs.read_sliceΒΆ
read_slice :: fn (handle: File) (_0: []u8, _1: Error)
Read whole file content into slice array. Return new slice instance containting file data and OK status on success, otherwise return empty slice and error. Returned slice is expected to be released by slice_terminate call if there was no error reported by function.
Declared in: fs.bl