Commits


mwish authored and GitHub committed 64b110942d0
GH-41899: [C++] IPC: Minor enhance the code of writer (#41900) ### Rationale for this change Enhance the code of IPC writer ### What changes are included in this PR? 1. memcpy rather than reinterpret_cast 2. move the buffer rather than copying ### Are these changes tested? Covered by existing ### Are there any user-facing changes? No * GitHub Issue: #41899 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: mwish <maplewish117@gmail.com>