fs_write_sliceΒΆ
fs_write_slice :: fn (handle: FSFile, v: []u8, count: s64) (_0: s64, _1: Error) #inline
Write content of v slice into the file, return count of written bytes and OK if there is no error, otherwise return 0 and error. Optional argument count specify count of bytes from v to be written, negative value means whole content. When passed count is greater than v.len, count value is set to v.len.
Declared in: fs.bl