read_all_chars(s = current_reader(), bufsize = 1024)
Return a string containing all the remaining characters from textual input stream s
, or
the eof object. Charactes are read in chunks of size bufsize
.
// reading a utf-8 encoded text file:
let t = transcoder('UTF_8)
let f = file_reader("greek.txt", transcoder = t)
let contents = read_all_chars(f)
close_reader(f)