|I have a method that takes byte parameter.
But the data, that I want to pass into the method is
contained inside long array.
How to convert these types?
I c++ i would simply cast the pointer to (unsigned char*)
long* longTable = new long[elCount];
In c# it looks like
long longTable = new long[elCount]
//what to do here to convert long to byte
SomeObject.SomeFunction(.....)//taking byte argument
Is it possible to do it without serialization or any other