Skip to main content

i128_array

Function i128_array 

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

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