Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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

Regards,

SANJAY KABRA
-----------------------------------------------------------
Kai bhool-chuk thai to maaf karjo nahi to thay e kari lejo!!
------------------------------------------------------------
__________________
Sanjay Kabra
  #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
Default

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.


Regards,
SANJAY KABRA
"Kai bhool chuk thai hoy to maaf kari deje nahi to thay e kari leje"


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





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