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:44
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
::uint64_t uint64_t
Definition: Meta.h:58
Definition: AprilTagFieldLayout.h:18
Definition: format.h:1552