Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ Insert
Method
Insert
LibLemon/include/lemon/ipc/message.h:38–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
37
template<typename T>
38
void Insert(uint16_t& pos, const T& obj){
39
memcpy(&mdata[pos], &obj, sizeof(T));
40
pos += sizeof(T);
41
}
42
43
template<typename O>
44
long Decode(uint16_t& pos, O& o){
Callers
nothing calls this directly
Calls
1
memcpy
Function · 0.85
Tested by
no test coverage detected