[select] Add zero-copy support for API select commands (#12329)

This commit is contained in:
J. Nick Koston
2025-12-08 10:37:51 -05:00
committed by GitHub
parent d635892ecf
commit 801d1135ab
9 changed files with 27 additions and 24 deletions
+3 -1
View File
@@ -1453,7 +1453,9 @@ void SelectStateResponse::dump_to(std::string &out) const {
void SelectCommandRequest::dump_to(std::string &out) const {
MessageDumpHelper helper(out, "SelectCommandRequest");
dump_field(out, "key", this->key);
dump_field(out, "state", this->state);
out.append(" state: ");
out.append(format_hex_pretty(this->state, this->state_len));
out.append("\n");
#ifdef USE_DEVICES
dump_field(out, "device_id", this->device_id);
#endif