[−][src]Function ckb_std::syscalls::load_cell
pub fn load_cell(
buf: &mut [u8],
offset: usize,
index: usize,
source: Source
) -> Result<usize, SysError>
Load cell
Return the loaded data length or a syscall error
Arguments
buf
- a writable buf used to receive the dataoffset
- offsetindex
- index of cellsource
- source of cell