ipfs-chromium
library
src
ipfs_client
ipld
chunk.h
1
#ifndef IPFS_CHUNK_H_
2
#define IPFS_CHUNK_H_
3
4
#include <ipfs_client/ipld/dag_node.h>
5
6
namespace
ipfs::ipld {
13
class
Chunk
:
public
DagNode
{
14
std::string
const
data_;
15
16
ResolveResult resolve(
ResolutionState
&)
override
;
17
18
public
:
22
explicit
Chunk
(std::string bytes);
23
~
Chunk
() noexcept
override
;
24
};
25
}
// namespace ipfs::ipld
26
27
#endif
// IPFS_CHUNK_H_
ipfs::ipld::Chunk
Definition:
chunk.h:13
ipfs::ipld::Chunk::Chunk
Chunk(std::string bytes)
Definition:
chunk.cc:17
ipfs::ipld::DagNode
A block, an IPNS record, etc.
Definition:
dag_node.h:69
ipfs::ipld::ResolutionState
Definition:
resolution_state.h:21
Generated by
1.9.1