Skip to main content

encode

Function encode 

Source
fn encode<T, I>(
    values: T,
    indices: I,
    encoder: &mut ByteArrayEncoder,
) -> Result<()>
where T: ArrayAccessor + Copy, T::Item: Copy + Ord + AsRef<[u8]>, I: ExactSizeIterator<Item = usize> + Clone,
Expand description

Encodes the provided values and indices to encoder

This is a free function so it can be used with downcast_op!