pub unsafe fn memset(dst: *mut u8, byte: u8, n: usize)
Fill n bytes starting at dst with byte.
n
dst
byte
Uses the SVM sol_memset_ syscall on-chain.
sol_memset_
dst must be valid for n bytes.