fn u64_to_fixed_6(x: &u64) -> [u8; 6] {
    let mask: u64 = 0xff;
    let b1: u8 = ((x >> 40) & mask) as u8;
    let b2: u8 = ((x >> 32) & mask) as u8;
    let b3: u8 = ((x >> 24) & mask) as u8;
    let b4: u8 = ((x >> 16) & mask) as u8;
    let b5: u8 = ((x >> 8) & mask) as u8;
    let b6: u8 = (x & mask) as u8;
    [b1, b2, b3, b4, b5, b6]
}
/// Convert a 64-bit unsigned integer to a fixed array of six bytes.
Convert a 64-bit unsigned integer to a fixed array of six bytes.
Convert a 64 - bit unsigned integer to a fixed array of six bytes .
fn u64_to_fixed_6(x: &u64) -> [u8; 6] {
    let mask: u64 = 0xff;
    let b1: u8 = ((x >> 40) & mask) as u8;
    let b2: u8 = ((x >> 32) & mask) as u8;
    let b3: u8 = ((x >> 24) & mask) as u8;
    let b4: u8 = ((x >> 16) & mask) as u8;
    let b5: u8 = ((x >> 8) & mask) as u8;
    let b6: u8 = (x & mask) as u8;
    [b1, b2, b3, b4, b5, b6]
}
fn u64_to_fixed_6 ( x : & u64 ) -> [ u8 ; 6 ] { let mask : u64 = 0xff ; let b1 : u8 = ( ( x >> 40 ) & mask ) as u8 ; let b2 : u8 = ( ( x >> 32 ) & mask ) as u8 ; let b3 : u8 = ( ( x >> 24 ) & mask ) as u8 ; let b4 : u8 = ( ( x >> 16 ) & mask ) as u8 ; let b5 : u8 = ( ( x >> 8 ) & mask ) as u8 ; let b6 : u8 = ( x & mask ) as u8 ; [ b1 , b2 , b3 , b4 , b5 , b6 ] }
Convert a 64-bit unsigned integer to a fixed array of six bytes.
Convert a 64 - bit unsigned integer to a fixed array of six bytes .
x
&u64
x
&u64