28inline std::size_t decode_variable_len_msg_hdr(
const std::byte* buf_ptr, std::size_t sz) {
 
   34  using endp_type = 
typename IOT::endpoint_type;
 
   35  using const_buf = asio::const_buffer;
 
   40  msg_hdlr(
bool rep, test_counter& c) : reply(rep), cnt(c) { }
 
   43    chops::const_shared_buffer sh_buf(buf.data(), buf.size());
 
   44    if (sh_buf.size() > 2) { 
 
   47        io_intf.send(sh_buf, endp);
 
   53      io_intf.send(sh_buf, endp);