Daniel Gibson: > I'd suggest to always write the length as a (u)long - or uint, > char-arrays/strings that are bigger than 4GB are just insane, anyway. > (Java uses short in a similar method, IIRC). A "long" suffices there, no need to use a "cent". Bye, bearophile