22 const size_t got = pipe.
read(buffer.data(), buffer.size());
39 const size_t got =
static_cast<size_t>(stream.gcount());
40 pipe.
write(buffer.data(), got);
42 if(stream.bad() || (stream.fail() && !stream.eof()))
size_t read(uint8_t output[], size_t length) override BOTAN_WARN_UNUSED_RESULT
void write(const uint8_t in[], size_t length)
size_t remaining(message_id msg=DEFAULT_MESSAGE) const BOTAN_WARN_UNUSED_RESULT
int operator>>(int fd, Pipe &pipe)
int operator<<(int fd, Pipe &pipe)
const char * cast_uint8_ptr_to_char(const uint8_t *b)
std::vector< T, secure_allocator< T > > secure_vector