[Coco] UnTC for Windows [...] -- a possible addition to the Toolshed?

Steven Hirsch snhirsch at gmail.com
Mon May 31 21:13:05 EDT 2010


On Mon, 31 May 2010, Christian Lesage wrote:

>> 
>> My box is a 64-bit Kubuntu system, BTW, so the code does not appear to make 
>> storage size or byte-ordering assumptions.
>
> Well, the the length of each file within the archive is stored using three 
> bytes, the most significative one coming first. I slightly modified the code 
> so as to read each byte individually, and then use those bytes to recompute 
> the length as a long integer. So the same code can now be used no matter if 
> the architecture is a small-endian or a big-endian one.

Yes, I saw that.  Excellent foresight!


-- 




More information about the Coco mailing list