solana_program::serialize_utils

Function read_u8

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