22 #ifndef NDN_CXX_SECURITY_TRANSFORM_BASE_HPP 23 #define NDN_CXX_SECURITY_TRANSFORM_BASE_HPP 48 class Error :
public std::runtime_error
51 Error(
size_t index,
const std::string& what);
91 write(
const uint8_t* buf,
size_t size);
139 doWrite(
const uint8_t* buf,
size_t size) = 0;
171 appendChain(unique_ptr<Downstream> tail);
214 setOutputBuffer(unique_ptr<OBuffer> buffer);
220 isOutputBufferEmpty()
const;
227 doWrite(
const uint8_t* data,
size_t dataLen)
final;
257 convert(const uint8_t* data,
size_t dataLen) = 0;
270 unique_ptr<OBuffer> m_oBuffer;
271 size_t m_outputOffset;
340 #endif // NDN_CXX_SECURITY_TRANSFORM_BASE_HPP
Common includes and macros used throughout the library.
std::istream & operator>>(std::istream &is, Name &name)
Parse URI from stream as Name.