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