| 149 | } |
| 150 | |
| 151 | bool File::atEnd() { |
| 152 | if (!m_file) |
| 153 | throw IOException("eof called on closed File"); |
| 154 | |
| 155 | return ftell(m_file) >= fsize(m_file); |
| 156 | } |
| 157 | |
| 158 | size_t File::read(char* data, size_t len) { |
| 159 | if (!m_file) |
no outgoing calls
no test coverage detected