solana_sdk::serialize_utils

Function read_u16

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