Function load_header

Source
pub fn load_header(
    buf: &mut [u8],
    offset: usize,
    index: usize,
    source: Source,
) -> Result<usize, SysError>
Available on neither crate feature native-simulator nor crate feature stub-syscalls.
Expand description

Load header

Return the loaded data length or a syscall error

ยงArguments

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