Function ckb_std::syscalls::load_cell_data_raw
source · pub fn load_cell_data_raw(
buf_ptr: *mut u8,
len: usize,
offset: usize,
index: usize,
source: Source
) -> Result<usize, SysError>
Available on non-crate feature
simulator
only.Expand description
Load cell data, read cell data
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.offset
- offsetindex
- indexsource
- source