Function ckb_std::syscalls::load_cell_data
source · pub fn load_cell_data(
buf: &mut [u8],
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
- a writable buf used to receive the dataoffset
- offsetindex
- indexsource
- source