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: pgpIhJ5TyVrVg.pgp
Description: PGP signature

_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to