Re: [Vala] GIO get_contens



Hello,

On Thu, Dec 02, 2010 at 05:03:21PM -0500, Arley Consuegra Rosello wrote:
Hello, I was looking the basic gio sample there a file is read line by
line.
Exist some way to read the without using a while loop?
php have a funtion get_contens that is what I need.
In gio reference manual I found g_data_input_stream_read_upto_finish
that look like what I need, but don't found it in valadoc.org

pd: Spanish user, sorry.


What you're searching is File.load_contents() I think.

Best regards,
Sébastien

Attachment: pgpDUD2ccUJcy.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]