Function ctru_sys::FSFILE_Read
source · pub unsafe extern "C" fn FSFILE_Read(
handle: Handle,
bytesRead: *mut u32_,
offset: u64_,
buffer: *mut c_void,
size: u32_
) -> Result
Expand description
Reads from a file.
§Arguments
handle
- Handle of the file.bytesRead
- Pointer to output the number of bytes read to.offset
- Offset to read from.buffer
- Buffer to read to.size
- Size of the buffer.