Skip to main content

i8_array

Function i8_array 

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

Serialize a slice of complex i8 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.