pub fn read_array_from_buffer<T: Copy>( buffer: *mut u8, count: u32, array: &mut ArrayVec<[T; 8]>) -> *mut u8