fn downsample(raw: Vec<(Time, usize)>) -> Vec<(Time, usize)>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator