solana_sdk::short_vec

Function decode_shortu16_len

source
pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()>
Expand description

Return the decoded value and how many bytes it consumed.