22 #ifndef NDN_CXX_SECURITY_TRANSFORM_BASE_HPP 23 #define NDN_CXX_SECURITY_TRANSFORM_BASE_HPP 25 #include "../../common.hpp" 47 class Error :
public std::runtime_error
50 Error(
size_t index,
const std::string& what);
90 write(
const uint8_t* buf,
size_t size);
138 doWrite(
const uint8_t* buf,
size_t size) = 0;
170 appendChain(unique_ptr<Downstream> tail);
213 setOutputBuffer(unique_ptr<OBuffer> buffer);
219 isOutputBufferEmpty()
const;
226 doWrite(
const uint8_t* data,
size_t dataLen)
final;
256 convert(const uint8_t* data,
size_t dataLen) = 0;
269 unique_ptr<OBuffer> m_oBuffer;
270 size_t m_outputOffset;
339 #endif // NDN_CXX_SECURITY_TRANSFORM_BASE_HPP
Copyright (c) 2013-2017 Regents of the University of California.
std::istream & operator>>(std::istream &is, Name &name)
Parse URI from stream as Name.