wamr_sys

Function get_package_type

Source
pub unsafe extern "C" fn get_package_type(
    buf: *const u8,
    size: u32,
) -> package_type_t
Expand description

Get the package type of a buffer.

@param buf the package buffer @param size the package buffer size

@return the package type, return Package_Type_Unknown if the type is unknown