Function load_cell_data
Source pub fn load_cell_data(index: usize, source: Source) -> Result<Vec<u8>, SysError>
Available on crate feature ckb-types only.
Expand description
Load cell data
§Arguments
index - index
source - source
§Example
let data = load_cell_data(index, source).unwrap();
Note: This function can panic if the underlying data is too large,
potentially causing an out-of-memory error.