Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/DevilutionX
/ WriteLE
Method
WriteLE
Source/loadsave.cpp:218–222 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
216
217
template <class T>
218
void WriteLE(T value)
219
{
220
value = SwapLE(value);
221
WriteBytes(&value, sizeof(value));
222
}
223
224
template <class T>
225
void WriteBE(T value)
Callers
1
SaveGameData
Function · 0.80
Calls
1
SwapLE
Function · 0.70
Tested by
no test coverage detected