pub fn load_cell_capacity(index: usize, source: Source) -> Result<u64, SysError>
Load cell capacity
Return the loaded data length or a syscall error
index
source
let capacity = syscalls::load_cell_capacity(index, source).unwrap();