solana_program::serialize_utils

Function read_slice

source
pub fn read_slice(
    current: &mut usize,
    data: &[u8],
    data_len: usize,
) -> Result<Vec<u8>, SanitizeError>