Function ctru_sys::bossReadNsData

source ·
pub unsafe extern "C" fn bossReadNsData(
    NsDataId: u32_,
    offset: u64_,
    buffer: *mut c_void,
    size: u32_,
    transfer_total: *mut u32_,
    unk_out: *mut u32_
) -> Result
Expand description

Reads data from the content for the specified NsDataId.

§Arguments

  • NsDataId - NsDataId
  • offset - Offset in the content.
  • buffer - Output buffer.
  • size - Output buffer size.
  • transfer_total - Optional output actual read size, can be NULL.
  • unk_out - Optional unknown output, can be NULL.