Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binary to Integer
Message
From
29/12/2001 09:47:58
 
 
To
29/12/2001 07:28:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00599084
Message ID:
00599100
Views:
15
>Hi, could someone please assist.
>
>I am trying to decode a binary file. There are unsigned 2 byte integers that represent a CRC check digit and length of data packet.
>
>My question is: How do convert an unsigned 2 byte int, presented in binary format into a real integer value.
>

Download my ClsHeap class from the Files section; it contains UDFs that will convert most binary structures to VFP numerics, as well as providing a mechanism for allocating, controlling and dereferencing information not resident in VFP's memory space.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform