I have the following C struct:
short Elev; /* vertex elevation */
u_char Zone; /* terrain fearture type */
u_char Mono; /* monochrome brightness value */
ulong rgb; /* rgb color components of vertex */
The rgb values are bitshifted into the rgb ulong, and then the rgb
ulong is converted to a network long.
Then a bunch of those structs are written into a file.
What's the Ruby way of getting the RGB values out? Is the unpack
specification "sccN"? And then I'd unpack the network long with