ipfs-chromium
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:
19  explicit Chunk(std::string);
20  ~Chunk() noexcept override;
21 };
22 } // namespace ipfs::ipld
23 
24 #endif // IPFS_CHUNK_H_
Definition: chunk.h:13
A block, an IPNS record, etc.
Definition: dag_node.h:69
Definition: resolution_state.h:21