[api] Add zero-copy support for noise encryption key requests (#12405)

This commit is contained in:
J. Nick Koston
2025-12-20 06:47:30 -10:00
committed by GitHub
parent 64269334ce
commit 40eb898814
7 changed files with 21 additions and 12 deletions
+1 -1
View File
@@ -1115,7 +1115,7 @@ void SubscribeLogsResponse::dump_to(std::string &out) const {
void NoiseEncryptionSetKeyRequest::dump_to(std::string &out) const {
MessageDumpHelper helper(out, "NoiseEncryptionSetKeyRequest");
out.append(" key: ");
out.append(format_hex_pretty(reinterpret_cast<const uint8_t *>(this->key.data()), this->key.size()));
out.append(format_hex_pretty(this->key, this->key_len));
out.append("\n");
}
void NoiseEncryptionSetKeyResponse::dump_to(std::string &out) const { dump_field(out, "success", this->success); }