Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 8th, 2004, 08:04 AM
Authorized User
Join Date: Jan 2004
Location: bangalore, Karanataka, India.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default alternative to MemCpy

Hi all,

What function should I use in C# instead of Memcpy?

I want to convert the byte array to a float value.
Can ne body tell me how to do that.
It would be better if I get the code
Plz reply urgently
Thnx in advance


Kai bhool-chuk thai to maaf karjo nahi to thay e kari lejo!!
Sanjay Kabra
Reply With Quote
  #2 (permalink)  
Old September 17th, 2004, 12:10 AM
Authorized User
Join Date: Jan 2004
Location: bangalore, Karanataka, India.
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts

Hi All,

Atlast after searching a lot, I got the solution to the problem of converting byte array to a float value.
I would like to share with you all.

It can be done with either using Marshal.Copy method of System.Runtime.Interopservices namespace or using a Union.

"Kai bhool chuk thai hoy to maaf kari deje nahi to thay e kari leje"
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative to Codeplot? pfloyd BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 21 June 5th, 2011 03:57 AM
Alternative to BOOKMARKS Shiamak Word VBA 2 October 31st, 2008 04:04 PM
Microsoft.XMLDOM Alternative? gabster XSLT 4 September 11th, 2007 02:30 AM
Alternative to application object ratheesh_param ASP.NET 1.x and 2.0 Application Design 3 November 15th, 2006 11:22 AM
Image Alternative TSEROOGY Javascript 5 December 6th, 2004 10:39 AM

All times are GMT -4. The time now is 03:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.