error statement::bind_by_name_n(char const *name, size_t name_length, bytes_view value) { return error(::cass_statement_bind_bytes_by_name_n( backend(), name, name_length, (cass_byte_t const *)value.data(), value.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()); }
REDEMPTION_CXX_NODISCARD Read atomic_read(bytes_view buffer) { return this->do_atomic_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); } }
error statement::bind(size_t index, bytes_view value) { return error(::cass_statement_bind_bytes(backend(), index, (cass_byte_t const *)value.data(), value.size())); }