> 
> It does seem to work for small values like 1024 but not larger ones.  I 
> know there will be an upper limit to the integer size I can fit into the 
> three bytes but the 359447 value is one I've taken from an existing file 
> so I believe this is a valid integer to try and pack into these three 
> bytes.
> 
> Any advice ?

Some more information on this - the maximum value that can be 
successfully packed is 4095

Any advice ?

-- 
Posted via http://www.ruby-forum.com/.