encode_with_mode

Function encode_with_mode 

Source
pub fn encode_with_mode(
    s: &str,
    mode: Mode,
    version: Version,
) -> BitVec<Lsb0, u8>
Expand description

Encode string data to BitVec<Lsb0 , u8> in a specific mode. Does not include error correction codes, it only encodes the data portion.