MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / readule32

Method readule32

framework/physfs_fs.cpp:166–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166bool IFile::readule32(uint32_t &val)
167{
168 this->read(reinterpret_cast<char *>(&val), sizeof(val));
169 val = le32toh(val);
170 return !!(*this);
171}
172
173size_t IFile::size() const
174{

Callers 1

LOFTempsMethod · 0.80

Calls 2

le32tohFunction · 0.85
readMethod · 0.80

Tested by

no test coverage detected