ipfs-chromium
Loading...
Searching...
No Matches
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
:
20
virtual
std::unique_ptr<DagCborValue>
Parse
(ByteView cbor) = 0;
21
virtual
~CborParser
() noexcept {}
22
};
23
}
// namespace ipfs::ctx
24
25
#endif
// IPFS_CHROMIUM_CBOR_PARSER_H
ipfs::ctx::CborParser
Definition
cbor_parser.h:15
ipfs::ctx::CborParser::Parse
virtual std::unique_ptr< DagCborValue > Parse(ByteView cbor)=0
Generated by
1.9.8