# File lib/facets/more/binaryreader.rb, line 183 def read_cstring str = "" while (c=readn(1)) != "\0" str << c end str end