ipfs-chromium
Loading...
Searching...
No Matches
null_cbor_parser.h
1#pragma once
2
3#include "cbor_parser.h"
4
5namespace ipfs::ctx {
8class 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
Definition cbor_parser.h:15
Definition null_cbor_parser.h:8
std::unique_ptr< DagCborValue > Parse(ByteView) override
Definition null_cbor_parser.h:12