LibBinConvert is a library that provides a wrapper around the binaryEncode and binaryDecode functions. It aims to provide descriptively named functions that are easier to remember than the cryptic format specifiers required by the binaryEncode/Decode functions.
It covers signed and unsigned integers of 1, 2 3, and 4 bytes, floats of 4, 8 and 10 (ieeeExtended) bytes, in either network (motorola/mac) byte-order or intel byte-order.
It also avoids bug 5315, where binaryDecode treats signed integers as unsigned on intel machines.
It also means you don't have to initialize a receiving variable for binaryDecode.
You can download it from:
http://www.futility.co.uk/futsoft/revolutionstuff.html
Best,
Mark
libBinConvert
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 179
- Joined: Sat Apr 08, 2006 11:08 pm
- Contact: