Blogs on code snippets and tools that every .NET developer would need to have on fingerTips...
Here is the code to convert array of Ints to bytes:
int[] source = ids.ToArray();int length = source.Length * 4;byte[] dest = new byte[length];System.Buffer.BlockCopy(source, 0, dest, 0, dest.Length);
No comments:
Post a Comment