pub unsafe extern "C" fn FSPXI_WriteFileSHA256(
    serviceHandle: Handle,
    file: FSPXI_File,
    bytesWritten: *mut u32_,
    offset: u64_,
    writeBuffer: *const c_void,
    writeBufferSize: u32_,
    hashtable: *mut c_void,
    hashtableSize: u32_,
    unk1: u32_,
    unk2: u32_
) -> Result
Expand description

Assumedly writes data and stores SHA256 hashes of blocks

§Arguments

  • file - File to write to.
  • bytesWritten - Pointer to output the number of written bytes to.
  • offset - Offset to write to.
  • writeBuffer - Buffer to write from.
  • writeBufferSize - Size of writeBuffer.
  • hashtable - Pointer to store SHA256 hashes in.
  • hashtableSize - Size of hashtable
  • unk1 - Unknown. Might match with ReadFileSHA256’s unknown?
  • unk2 - Unknown. Might match with ReadFileSHA256’s unknown?