ipfs-chromium
Loading...
Searching...
No Matches
include
ipfs_client
ctx
null_cbor_parser.h
1
#pragma once
2
3
#include "cbor_parser.h"
4
5
namespace
ipfs::ctx {
8
class
NullCborParser
:
public
CborParser
{
9
public
:
12
std::unique_ptr<DagCborValue>
Parse
(ByteView)
override
{
13
return
{};
14
}
15
~NullCborParser
() noexcept override = default;
16
};
17
}
// namespace ipfs::ctx
ipfs::ctx::CborParser
Definition
cbor_parser.h:15
ipfs::ctx::NullCborParser
Definition
null_cbor_parser.h:8
ipfs::ctx::NullCborParser::Parse
std::unique_ptr< DagCborValue > Parse(ByteView) override
Definition
null_cbor_parser.h:12
Generated by
1.9.8