pub fn load_cell_code(
buf_ptr: *mut u8,
len: usize,
content_offset: usize,
content_size: usize,
index: usize,
source: Source,
) -> Result<usize, SysError>
Available on neither crate feature
native-simulator
nor crate feature stub-syscalls
.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_ptr
can receives.content_offset
- offsetcontent_size
- read lengthindex
- indexsource
- source