最終更新日:
Masayuki Nii [msyk@msyk.net]
midnode.c is the source of command line program to generate the middle label of two VLEI coded binaries. Two parameters -p and -n are required and they must be specified each VLEI coded binary by the string with just using 0 and 1.
base15.c is the source of command line program to encode the VLEI coded binary to the RDB friendly style string. (The number "15" is NOT relevant to the function of this program. I've just confused :-)
I have developed these programs by Xcode of Mac OS X. If you can use the Mac, it's easy way to make a Xcode project and include these sources. Though I don't make check with other OSs, the following way might be do well:
gcc midnode.c --std=c99 -o midnode
For example, "./midnode -p 00010 -n 0001" will print "000101" as the middle value of them.