Skip to main content

avx2_encode

Function avx2_encode 

Source
unsafe fn avx2_encode(
    kind: SimdKind,
    input: &[u8],
    output: &mut [u8],
) -> (usize, usize)
Expand description

Dispatch the AVX2 encode kernel to the right alphabet monomorphization.

ยงSafety

The running CPU must support AVX2 (the requirement is forwarded to avx2::encode_bulk).