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

Method seek

source/core/StarFile.cpp:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void File::seek(StreamOffset offset, IOSeek seekMode) {
141 if (!m_file)
142 throw IOException("seek called on closed File");
143
144 fseek(m_file, offset, seekMode);
145}
146
147StreamOffset File::size() {
148 return fsize(m_file);

Callers 15

sendPacketsMethod · 0.45
receivePacketsMethod · 0.45
receiveMethod · 0.45
openMethod · 0.45
storeLeafMethod · 0.45
readFreeIndexBlockMethod · 0.45
writeFreeIndexBlockMethod · 0.45
leafTailBlocksMethod · 0.45
writeRootMethod · 0.45
readRootMethod · 0.45
cloneMethod · 0.45
seekFuncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected