pub fn decode(src: &[u8], dst: &mut Vec<u64>) -> Result<(), Box<dyn Error>> {
    if src.is_empty() {
        return Ok(());
    }
    let mut signed_results = vec![];
    super::integer::decode(src, &mut signed_results)?;
    dst.clear();
    dst.reserve_exact(signed_results.len() - dst.capacity());
    for s in signed_results {
        dst.push(s as u64);
    }
    Ok(())
}
/// Decodes a slice of bytes into a destination vector of unsigned integers.
Decodes a slice of bytes into a destination vector of unsigned integers.
Decodes a slice of bytes into a destination vector of unsigned integers .
pub fn decode(src: &[u8], dst: &mut Vec<u64>) -> Result<(), Box<dyn Error>> {
    if src.is_empty() {
        return Ok(());
    }
    let mut signed_results = vec![];
    super::integer::decode(src, &mut signed_results)?;
    dst.clear();
    dst.reserve_exact(signed_results.len() - dst.capacity());
    for s in signed_results {
        dst.push(s as u64);
    }
    Ok(())
}
pub fn decode ( src : & [ u8 ] , dst : & mut Vec < u64 > ) -> Result < ( ) , Box < dyn Error > > { if src . is_empty ( ) { return Ok ( ( ) ) ; } let mut signed_results = vec ! [ ] ; super :: integer :: decode ( src , & mut signed_results ) ? ; dst . clear ( ) ; dst . reserve_exact ( signed_results . len ( ) - dst . capacity ( ) ) ; for s in signed_results { dst . push ( s as u64 ) ; } Ok ( ( ) ) }
Decodes a slice of bytes into a destination vector of unsigned integers.
Decodes a slice of bytes into a destination vector of unsigned integers .
src
&[u8]
dst
&mut Vec<u64>
src
&[u8]
dst
&mut Vec<u64>