8 #include <botan/pipe.h>
21 size_t got = pipe.
read(buffer.data(), buffer.size());
22 stream.write(reinterpret_cast<const char*>(buffer.data()), got);
37 stream.read(reinterpret_cast<char*>(buffer.data()), buffer.size());
38 pipe.
write(buffer.data(), stream.gcount());
40 if(stream.bad() || (stream.fail() && !stream.eof()))
std::istream & operator>>(std::istream &in, X509_DN &dn)
size_t remaining(message_id msg=DEFAULT_MESSAGE) const BOTAN_WARN_UNUSED_RESULT
std::ostream & operator<<(std::ostream &out, const X509_DN &dn)
size_t read(uint8_t output[], size_t length) override BOTAN_WARN_UNUSED_RESULT
std::vector< T, secure_allocator< T >> secure_vector
void write(const uint8_t in[], size_t length)