Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PurpleI2P/i2pd
/ Buffer
Method
Buffer
libi2pd/RouterInfo.cpp:35–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
namespace data
34
{
35
RouterInfo::Buffer::Buffer (const uint8_t * buf, size_t len)
36
{
37
if (len > size ()) len = size ();
38
memcpy (data (), buf, len);
39
m_BufferLen = len;
40
}
41
42
RouterInfo::RouterInfo (): m_Buffer (nullptr)
43
{
Callers
nothing calls this directly
Calls
1
data
Function · 0.85
Tested by
no test coverage detected