
Copy bytes from an Integer to a location of bytes array
Alan,
Quote:
>I know in C programming, it is fairly easy to use "memcpy"
>to copy the 4 bytes of an Integer data to any location of
>a byte array. Is there similiar easy way in VB.NET?
System.BitConverter.GetBytes combined with Buffer.BlockCopy or
Array.Copy[To]
Mattias
===
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.