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