ipfs-chromium
library
include
ipfs_client
ctx
cbor_parser.h
1
#ifndef IPFS_CHROMIUM_CBOR_PARSER_H
2
#define IPFS_CHROMIUM_CBOR_PARSER_H
3
4
#include <vocab/byte_view.h>
5
6
#include <memory>
7
8
namespace
ipfs {
9
class
DagCborValue;
10
}
11
12
namespace
ipfs::ctx {
15
class
CborParser
{
16
public
:
17
virtual
std::unique_ptr<DagCborValue> Parse(ByteView) = 0;
18
virtual
~
CborParser
() noexcept {}
19
};
20
}
// namespace ipfs::ctx
21
22
#endif
// IPFS_CHROMIUM_CBOR_PARSER_H
ipfs::ctx::CborParser
Definition:
cbor_parser.h:15
Generated by
1.9.1