lib/ruby/truffle/pr-zlib/lib/pr/rbzlib.rb
# Reads one byte from the compressed file. gzgetc returns this byte
# or -1 in case of end of file or error.
#
Reads one byte from the compressed file. gzgetc returns this byte
or -1 in case of end of file or error.
Reads one byte from the compressed file . gzgetc returns this byte or - 1 in case of end of file or error .
def gzgetc(file)
    c = 0.chr
    if (gzread(file,c,1) == 1)
      return c
    else
      return -1
    end
  end
def gzgetc ( file ) c = 0 . chr if ( gzread ( file , c , 1 ) == 1 ) return c else return - 1 end end
Reads one byte from the compressed file.
Reads one byte from the compressed file .
file
<not_specific>