pub fn manchester_encode_simd(bits: &[u8]) -> Vec<i16>Expand description
Encode bits using Manchester coding, returning PCM audio samples.
Each byte in bits is treated as a single data bit (non-zero ⇒ 1,
zero ⇒ 0). The returned Vec<i16> has exactly bits.len() × 2
elements: two samples (high–low or low–high) per input bit.
On x86_64 CPUs that report avx2 at runtime the AVX2 fast-path is
taken; otherwise the scalar path is used. Both paths produce identical
output.