Function eos_rs::api::pack_file::load_file_in_pack_by_pack_number
source · pub unsafe fn load_file_in_pack_by_pack_number(
pack_number: Type,
file_number: u32
) -> Vec<u8>
Expand description
Call load_file_in_pack
after looking up the global pack archive by its number.
This is functionally identical to alloc_and_load_file_in_pack
, but Rust handles
allocation.
Safety
The pack number and file number must be valid.