REDEMPTION_CXX_NODISCARD Read atomic_read(bytes_view buffer) { return this->do_atomic_read(buffer.to_u8p(), buffer.size()); }
// TODO returns bytes_view REDEMPTION_CXX_NODISCARD size_t partial_read(bytes_view buffer) { return this->do_partial_read(buffer.to_u8p(), buffer.size()); }
void recv_boom(bytes_view buffer) { if (Read::Eof == this->atomic_read(buffer.to_u8p(), buffer.size())) { throw Error(ERR_TRANSPORT_NO_MORE_DATA); } }