MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / atEnd

Method atEnd

source/core/StarFile.cpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151bool 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
158size_t File::read(char* data, size_t len) {
159 if (!m_file)

Callers 6

readMethod · 0.45
receivePacketsMethod · 0.45
receiveMethod · 0.45
copyMethod · 0.45
readFileMethod · 0.45
readFileStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected