Re: [AD] dat/grabber and pack_fopen_chunk |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 2006-01-23 at 00:13 +1100, Peter Wang wrote:
> >
> > Just out of morbid curiosity, why is this nescessary?
>
> >From memory, the size of the chunk appears at the start of the chunk,
> but we don't know the size until the chunk is closed. So it is
> implemented by writing to a temporary file then looking at its size.
>
I wonder if we couldn't use a memory file for writing, like in expackf?
I guess, it would work in theory, but would be even more work to do..
--
Elias Pschernig