pub fn load_cell_capacity(index: usize, source: Source) -> Result<u64, SysError>
Expand description

Load cell capacity

Return the loaded data length or a syscall error

Arguments

  • index - index
  • source - source

Example

let capacity = syscalls::load_cell_capacity(index, source).unwrap();