Re: [Vala] GZFileStream question

Hi Kerby,

On Sat, 2008-03-01 at 14:06 -0500, Kerby A Shedden wrote:
I'm having trouble reading a gzipped file in vala using the short example 

I've fixed the bindings so that the following example works fine now:

using ZLib;
using GLib;

public class test_libz {

     static void main (string[] args) {
          var fid ="test.gz", "rb");

          var buffer = new char[100];
          string s = fid.gets (buffer);
          stdout.printf("%s\n", s);


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