From 8fd1eaa255ff71e325eded82740e0942494f7264 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 7 Aug 2024 17:50:30 +0200 Subject: wip debug --- modules/io_codec/c++/io_peer.tmpl.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/io_codec/c++/io_peer.tmpl.hpp') diff --git a/modules/io_codec/c++/io_peer.tmpl.hpp b/modules/io_codec/c++/io_peer.tmpl.hpp index faf8c7b..a9f942d 100644 --- a/modules/io_codec/c++/io_peer.tmpl.hpp +++ b/modules/io_codec/c++/io_peer.tmpl.hpp @@ -52,6 +52,7 @@ streaming_io_peerwrite_advance(len_val); data in_data{std::move(in_buff)}; incoming_feeder_->feed(std::move(in_data)); @@ -84,13 +85,20 @@ streaming_io_peerread(&in_buffer_.write(), 1, in_buffer_.write_segment_length()); } +} +#include +namespace saw { + template error_or streaming_io_peer::send(data msg) { + std::cout<<"O: "< streaming_io_peer streaming_io_peer 0u) { + std::cout<<"D"<write(&out_buffer_.read(), out_buffer_.read_segment_length()); } + std::cout<<"E"<