多种格式:C ++的多种格式

时间:2021-02-02 18:01:59
【文件属性】:
文件名称:多种格式:C ++的多种格式
文件大小:74KB
文件格式:ZIP
更新时间:2021-02-02 18:01:59
cpp ipfs multihash multiformats IPFSC++ 多种格式 C ++中的实现 例 # include < string> # include < iostream> # include " multiformats/multihash/multihash.h " using namespace std ; using namespace mh = multi::hash; int main () { auto data = " this is some data to hash " s; auto h = mh::New (); /* if you call mh::New() with no arguments it defaults to using SHA256. */ h. sum (data); cout << h. hex () << endl; /* If you call mh::New() with a hash function argument, it'll return an std::optional<Ha
【文件预览】:
multiformats-master
----gtest.BUILD(300B)
----.vscode()
--------c_cpp_properties.json(3KB)
--------settings.json(1KB)
----.clang-format(3KB)
----multiformats()
--------multihash()
--------util()
--------BUILD(233B)
--------multiformats.bzl(145B)
--------multiaddr()
----LICENSE(1KB)
----WORKSPACE(276B)
----README.md(2KB)
----tests()
--------multihash_test.cc(890B)
--------BUILD(468B)
----.gitignore(20B)
----third_party()
--------strutils()
--------crypto()
--------BUILD(440B)

网友评论