Is it just me, or is this method totally non-deterministic? The docs
claim:
 
"A length-prefixed string represents the string length by prefixing to
the string a single byte or word that contains the length of that
string."
 
With short strings, it does write out the length as a single byte. With
longer strings, it does expand it to a word. Now, when reading this
thing back in, how does one determine whether the length prefix is one
or two bytes????
 
Thanks
-John
http://www.iunknown.com
 
 
 
(Ƨ杙,j~&93DM܆+޺{.n+93DN칻&޶-z++-aجr,uޖ\


Reply via email to