Short answer: No, undefined behaviour.
Long answer: You have to cast the pointer into something that's appropriate. There are ways to figure it out, but only if you pass, along with the void pointer itself, information about the width of each element in the array.