Function ckb_std::syscalls::load_script[][src]

pub fn load_script(buf: &mut [u8], offset: usize) -> Result<usize, SysError>
Expand description

Load script

Return the loaded data length or a syscall error

Arguments

  • buf - a writable buf used to receive the data
  • offset - offset