Function solana_sdk::program_memory::sol_memcmp[][src]

pub fn sol_memcmp(s1: &[u8], s2: &[u8], n: usize) -> i32
Expand description

Memcmp

@param s1 - Slice to be compared @param s2 - Slice to be compared @param n - Number of bytes to compare