E
EOS
I guess what I want to do is best explain via the codes here;
Byte[] byteA = new Byte[100000];
Byte[] byteB = new Byte[4];
....
....
....
Now I want to copy 4 bytes from certain portion of the byteA array.
In C/C++, this is what we do;
memcpy(byteB, byteA[X], 4);
Or
memcpy(byteB, byteA+X, 4);
But with C#, I had been stuck for a while with no luck....
Hope you understand what I wanted and could show me the way.
Thanks for your time. Sometime I wish Microsoft could create C# to be nearer
to C/C++. C# is still driving me headache...
Byte[] byteA = new Byte[100000];
Byte[] byteB = new Byte[4];
....
....
....
Now I want to copy 4 bytes from certain portion of the byteA array.
In C/C++, this is what we do;
memcpy(byteB, byteA[X], 4);
Or
memcpy(byteB, byteA+X, 4);
But with C#, I had been stuck for a while with no luck....
Hope you understand what I wanted and could show me the way.
Thanks for your time. Sometime I wish Microsoft could create C# to be nearer
to C/C++. C# is still driving me headache...