I'm using some unsafe code in a C# project of mine because it needs to be able to communicate with a C++ DLL. One of the variables that's going between each language is a pointer of type "void* ". Its actually a buffer containing pixel values of an image. I'm just wondering how to access the values in C#. buffer[x] isn't a valid way to get the xth pixel.
anybody know where i can find information on what i can do to a "void *" in C#?