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

Method length

source/util/bfile.cpp:155–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155U64 BReadFile::length() {
156 U64 pos = getPos();
157 std::fseek(file, 0, SEEK_END);
158 U64 size = std::ftell(file);
159 std::fseek(file, (U32)pos, SEEK_SET);
160 return size;
161}
162
163BWriteFile::BWriteFile() {
164}

Callers 15

pushfMethod · 0.45
popfMethod · 0.45
dmul16Method · 0.45
dmul32Method · 0.45
divInternalMethod · 0.45
mul8internalMethod · 0.45
mul16internalMethod · 0.45
mul32internalMethod · 0.45
arithbaseMethod · 0.45
instMethod · 0.45
bitR16Method · 0.45
bitE16Method · 0.45

Calls

no outgoing calls

Tested by 1