- Refer to std::span<std::uint8_t> as Buffer - Refer to std::span<const std::uint8_t> as ConstBuffer - Use more consistent naming for members These were mostly added so the function prototypes look a bit better.
15 lines
272 B
C++
15 lines
272 B
C++
#ifndef LIBCBOR_PRINTER_HPP
|
|
#define LIBCBOR_PRINTER_HPP
|
|
|
|
#include "Core.hpp"
|
|
#include "Decoder.hpp"
|
|
|
|
#include <ostream>
|
|
|
|
namespace CBOR
|
|
{
|
|
void Print(std::ostream &out, ConstBuffer buffer);
|
|
void Print(std::ostream &out, Item item);
|
|
}
|
|
|
|
#endif // LIBCBOR_PRINTER_HPP
|