pub fn vec_to_u8(bitfield: Vec<u8>) -> u8
This method return the u8 image of the given bitfields. The bitfield must be in little endian
@param bitfields: Vec
@return u8