pub fn load_block_extension(
    buf: &mut [u8],
    offset: usize,
    index: usize,
    source: Source
) -> Result<usize, SysError>
Available on non-crate feature simulator and crate feature ckb2023 only.
Expand description

Load extension field associated either with an input cell, a dep cell, or a header dep based on source and index value.

Arguments

  • buf - a writable buf used to receive the data
  • offset - offset
  • index - index of cell
  • source - source of cell

Note: available after ckb2023.