Function solana_program::short_vec::decode_len [−][src]
pub fn decode_len(bytes: &[u8]) -> Result<(usize, usize), ()>
Return the decoded value and how many bytes it consumed.
pub fn decode_len(bytes: &[u8]) -> Result<(usize, usize), ()>
Return the decoded value and how many bytes it consumed.