Function encode_ben_vec_from_assign

Source
pub fn encode_ben_vec_from_assign(assign_vec: Vec<u16>) -> Vec<u8> 
Expand description

This function takes in a standard assignment vector and encodes it into a bit-packed ben version.

§Arguments

  • assign_vec - A vector of u16 values representing the assignment vector

§Returns

A vector of bytes containing the bit-packed ben encoded assignment vector