ipfs-chromium
library
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
:
10
std::unique_ptr<DagCborValue> Parse(ByteView)
override
{
11
return
{};
12
}
13
~
NullCborParser
() noexcept
override
=
default
;
14
};
15
}
// namespace ipfs::ctx
ipfs::ctx::CborParser
Definition:
cbor_parser.h:15
ipfs::ctx::NullCborParser
Definition:
null_cbor_parser.h:8
Generated by
1.9.1