read_all_chars


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.

Examples:


// 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)
      

Also see:

read_all
read_char
read_n_chars
file_writer
read_all_bytes
write_chars


Core Module Index | Contents