ipfs-chromium
Loading...
Searching...
No Matches
chunk.h
1#ifndef IPFS_CHUNK_H_
2#define IPFS_CHUNK_H_
3
4#include <ipfs_client/ipld/dag_node.h>
5
6namespace ipfs::ipld {
13class 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_
Definition chunk.h:13
A block, an IPNS record, etc.
Definition dag_node.h:69
Definition resolution_state.h:21