473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Move bytes from source to dest.

I don't know if it's possible some kind of "move" function to move bytes
from a source to a destination automatically.
Thanks
Carmen
Nov 16 '05 #1
4 1754
Hi Carmen,

That was _very_ vague :P And the answer depends entirely upon what source and destination you have in mind.

Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #2
I need to move bytes between two "arrays" (sorry about my Pascal way to
speak), from byte[] to byte[] and wonder if there is some "automatic" way.
Thanks

"Morten Wennevik" <Mo************@hotmail.com> escribió en el mensaje
news:opr8pimz0rklbvpo@morten_x.edunord...
Hi Carmen,

That was _very_ vague :P And the answer depends entirely upon what source and destination you have in mind.
Happy coding!
Morten Wennevik [C# MVP]

Nov 16 '05 #3
Hi carmen,

Yes, there is. Use Buffer.BlockCopy or Array.Copy. The former should work
faster while the later is more generic.

HTH
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"carmen" <ce*********@yahoo.es> wrote in message
news:ud**************@tk2msftngp13.phx.gbl...
I need to move bytes between two "arrays" (sorry about my Pascal way to
speak), from byte[] to byte[] and wonder if there is some "automatic" way.
Thanks

"Morten Wennevik" <Mo************@hotmail.com> escribió en el mensaje
news:opr8pimz0rklbvpo@morten_x.edunord...
Hi Carmen,

That was _very_ vague :P And the answer depends entirely upon what
source and destination you have in mind.

Happy coding!
Morten Wennevik [C# MVP]


Nov 16 '05 #4
Thank you!!!
"Miha Markic [MVP C#]" <miha at rthand com> escribió en el mensaje
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi carmen,

Yes, there is. Use Buffer.BlockCopy or Array.Copy. The former should work
faster while the later is more generic.

HTH
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"carmen" <ce*********@yahoo.es> wrote in message
news:ud**************@tk2msftngp13.phx.gbl...
I need to move bytes between two "arrays" (sorry about my Pascal way to
speak), from byte[] to byte[] and wonder if there is some "automatic" way. Thanks

"Morten Wennevik" <Mo************@hotmail.com> escribió en el mensaje
news:opr8pimz0rklbvpo@morten_x.edunord...
Hi Carmen,

That was _very_ vague :P And the answer depends entirely upon what

source
and destination you have in mind.

Happy coding!
Morten Wennevik [C# MVP]



Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Tim Conner | last post by:
Hi, I am an ex-delphi programmer, and I having a real hard time with the following simple code (example ): Which is the equivalent to the following code ? var chars : PChar; sBack, s :...
3
by: Karel | last post by:
Hello, I have a VB.NET application where I want to move directories over a network. I tried this with system.io.directory.move, but that doesn't work over different volumes. Has anyone a...
1
by: magnus.lycka | last post by:
Does anyone recognize this little Python crasher? I'll file a bug report unless someone notices it as an already documented bug. I found some open mmap bugs, but it wasn't obvious to me that...
1
by: RYKLOU | last post by:
I am kinda new to php, but i do know what i am doing kinda, but i came across this error when i am trying to upload a file to my website. Fatal error: Allowed memory size of 8388608 bytes...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.