byte array to an integer array
How is this done in c#, i''ve tried to do so by casting explicitly but it doesn''t except it??
byte[] bytes = ...;int [] ints = new int[bytes.length];for(int i=0; i < ints.length; ++i) ints[ i ] = (int)bytes[ i ];
- Pete
[edited by - Pete_ on April 3, 2004 5:01:08 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement