5#include "roo_io/core/output_stream.h"
21 virtual void send(
const roo::byte* buf,
size_t len) = 0;
Abstraction for sending packets over an underlying medium.
virtual void flush()
Flushes pending output.
static constexpr int kMaxPacketSize
Maximum packet size that can be sent.
virtual void send(const roo::byte *buf, size_t len)=0
Sends one data packet.
virtual ~PacketSender()=default