Function ctru_sys::decompressHeader
source · pub unsafe extern "C" fn decompressHeader(
type_: *mut decompressType,
size: *mut usize,
callback: decompressCallback,
userdata: *mut c_void,
insize: usize
) -> isize
Expand description
Decode decompression header
§Arguments
type
(direction out) - Decompression typesize
(direction out) - Decompressed sizecallback
(direction in) - Data callback (see decompressV())userdata
(direction in) - User data passed to callback (see decompressV())insize
(direction in) - Size of userdata (see decompressV())
§Returns
Bytes consumed
-1
- error