Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ encode_raw
Function
encode_raw
src/include/encoding.h:75–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
74
template<class T>
75
inline void encode_raw(const T& t, bufferlist& bl)
76
{
77
bl.append((char*)&t, sizeof(t));
78
}
79
template<class T>
80
inline void decode_raw(T& t, bufferlist::const_iterator &p)
81
{
Callers
6
encode
Method · 0.85
encode
Function · 0.85
encode
Method · 0.85
encode
Function · 0.85
encode
Function · 0.85
encode
Method · 0.85
Calls
1
append
Method · 0.45
Tested by
no test coverage detected