Function solana_sdk::short_vec::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.
pub fn decode_shortu16_len(bytes: &[u8]) -> Result<(usize, usize), ()>
Return the decoded value and how many bytes it consumed.