Skip to main content

u32_array

Function u32_array 

Source
pub fn u32_array<S: Serializer, T>(
    data: &[T],
    serializer: S,
) -> Result<S::Ok, S::Error>
where T: ComplexElement<Component = u32>,
Expand description

Serialize a slice of complex u32 as one BEVE complex array.

Takes any ComplexElement whose Component is this scalar — Complex, num_complex::Complex under the num-complex feature, or your own type. The component is part of the bound, so a same-width class cannot slip through.