MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / setPos

Method setPos

source/util/bfile.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135U64 BReadFile::setPos(U64 pos) {
136 U64 cur = getPos();
137 if (std::fseek(file, (U32)pos, SEEK_SET) == 0) {
138 return cur;
139 }
140 return npos;
141}
142
143U64 BReadFile::advance(U64 amount) {
144 U64 cur = getPos();

Callers 3

readResourceDirectoryFunction · 0.80
parseIconFunction · 0.80
extractIconFromExeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected