solana_serialize_utils

Function read_u16

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