[r6rs-discuss] Stateful codecs and inefficient transcoding
From: Marcin 'Qrczak' Kowalczyk <qrczak_at_knm.org.pl>
Subject: Re: [r6rs-discuss] Stateful codecs and inefficient transcoding
Date: Wed, 08 Nov 2006 01:21:09 +0100
> > However, if the underlying transcoder uses libiconv, the only way
> > to enforce the resetting is to call iconv_close(),
>
> No; when inbuf or *inbuf is NULL, the state is reset (which may cause
> to produce some output). This is in general necessary to use before
> finishing with the conversion; iconv_close doesn't include gathering
> output.
You're right. I have written code using that feature, but I
forgot it completely.
--shiro
Received on Tue Nov 07 2006 - 19:56:40 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:00 UTC