MCPcopy Create free account
hub / github.com/argotorg/solidity / encodeLinkData

Function encodeLinkData

libsolutil/IpfsHash.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bytes encodeLinkData(bytes const& _data)
54{
55 return bytes{0x12} + varintEncoding(_data.size()) + _data;
56}
57
58std::string base58Encode(bytes const& _data)
59{

Callers 1

combineLinksFunction · 0.85

Calls 2

varintEncodingFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected