Re: Converting clib FILE stream in GFileInputStream
- From: Shaun McCance <shaunm gnome org>
- To: Martin Kalbfuß <ma kalbfuss web de>
- Cc: Gtk+ <gtk-list gnome org>
- Subject: Re: Converting clib FILE stream in GFileInputStream
- Date: Mon, 09 Nov 2009 15:05:44 -0600
On Mon, 2009-11-09 at 21:44 +0100, Martin Kalbfuß wrote:
> Hi again.
>
> Is it possible to convert a stadnard FILE stream into an
> GFileInputStream and vice versa? The allegro library has functions to
> read/write bitmaps in different formats to/from a FILE stream. I would
> like to use this functions on GFileStreams.
Do you really need a GFileInputStream, or just some sort of
GInputStream? To get an input stream from a file descriptor,
there's GUnixInputStream:
http://library.gnome.org/devel/gio/stable/GUnixInputStream.html
--
Shaun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]