9#ifndef BOTAN_DATA_SINK_H_
10#define BOTAN_DATA_SINK_H_
12#include <botan/filter.h>
44#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
55 std::string
name()
const override {
return m_identifier; }
57 void write(
const uint8_t[],
size_t)
override;
59 void end_msg()
override;
64 const std::string m_identifier;
67 std::unique_ptr<std::ostream> m_sink_memory;
std::string name() const override
~DataSink_Stream() override
DataSink & operator=(const DataSink &)=delete
DataSink(const DataSink &)=delete
bool attachable() override
~DataSink() override=default
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)