5#ifndef WPINET_RAW_SOCKET_OSTREAM_H_
6#define WPINET_RAW_SOCKET_OSTREAM_H_
17 : m_stream(stream), m_shouldClose(shouldClose) {}
29 void write_impl(
const char* data,
size_t len)
override;
30 uint64_t current_pos()
const override;
Definition NetworkStream.h:13
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition raw_ostream.h:43
Definition raw_socket_ostream.h:14
~raw_socket_ostream() override
bool has_error() const
Definition raw_socket_ostream.h:22
raw_socket_ostream(NetworkStream &stream, bool shouldClose)
Definition raw_socket_ostream.h:16
void error_detected()
Definition raw_socket_ostream.h:26
void clear_error()
Definition raw_socket_ostream.h:23
Foonathan namespace.
Definition ntcore_cpp.h:26