Re: GConverter commited
- From: Behdad Esfahbod <behdad redhat com>
- To: Shaun McCance <shaunm gnome org>
- Cc: gtk-devel-list gnome org, Alexander Larsson <alexl redhat com>
- Subject: Re: GConverter commited
- Date: Tue, 24 Nov 2009 17:20:18 -0500
On 11/24/2009 11:09 AM, Shaun McCance wrote:
So with my implementation, by the time you get to the
magic, you've already set up a GConverterInputStream
with the magic decompressor. If the stream turns out
to be uncompressed, you'd have to do a null conversion.
I suppose the magic decompressor could just have the
null conversion built in.
Isn't it like a matter of memcpy() in convert(), and nothing in reset()? Not
that I oppose a cat-converter.
behdad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]