Thanks. I worked on it for a while and found a solution. I will post it here for future reference.
Code:
Array arr=(Array)buffer;
arr.CopyTo(array,0);
This converts the byte[*] to byte[]
Thanks!!
Thread profile page for "Convert object to Byte[*] in C#" on http://www.devshed.com.
This report page is a snippet summary view from a single thread "Convert object to Byte[*] in C#", located on the Message Board at http://www.devshed.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||