22 #ifndef NDN_CXX_SECURITY_TRANSFORM_BASE_HPP
23 #define NDN_CXX_SECURITY_TRANSFORM_BASE_HPP
49 class Error :
public std::runtime_error
52 Error(
size_t index,
const std::string& what);
92 write(span<const uint8_t> buf);
97 [[deprecated(
"use the overload that takes a span<>")]]
99 write(
const uint8_t* buf,
size_t size)
101 return write({buf, size});
147 doWrite(span<const uint8_t> buf) = 0;
154 bool m_isEnd =
false;
228 doWrite(span<const uint8_t> data)
final;
258 convert(span<const uint8_t> data) = 0;
272 size_t m_outputOffset = 0;
329 size_t m_nModules = 1;
Common includes and macros used throughout the library.
std::istream & operator>>(std::istream &is, Name &name)
Parse URI from stream as Name.