Function ckb_std::syscalls::load_cell_code
source · pub fn load_cell_code(
buf_ptr: *mut u8,
len: usize,
content_offset: usize,
content_size: usize,
index: usize,
source: Source
) -> Result<usize, SysError>Expand description
Load cell code, read cell data as executable code
Return the loaded data length or a syscall error
Arguments
buf_ptr- a writable pointer used to receive the datalen- length that thebuf_ptrcan receives.content_offset- offsetcontent_size- read lengthindex- indexsource- source