50 template <
typename ResT>
59 void copy_data(std::span<const uint8_t> data_from_peer);
74 std::vector<uint8_t> prepare_records(
Record_Type type,
75 std::span<const uint8_t> data,
97 void set_record_size_limits(uint16_t outgoing_limit, uint16_t incoming_limit);
104 std::vector<uint8_t> m_read_buffer;
109 uint16_t m_outgoing_record_size_limit;
110 uint16_t m_incoming_record_size_limit;
115 bool m_sending_compat_mode;
116 bool m_receiving_compat_mode;