alamb commented on code in PR #2369:
URL: https://github.com/apache/arrow-rs/pull/2369#discussion_r945124499
##########
arrow/src/ipc/writer.rs:
##########
@@ -520,17 +593,20 @@ impl<W: Write> FileWriter<W> {
let data_gen = IpcDataGenerator::default();
let mut writer = BufWriter::new(writer);
// write magic to header
+ let mut header_size: usize = 0;
Review Comment:
Good call -- I have updated in 2ed7ce308 (and added an `assert` to verify
the currently implicit assumption that `ARROW_MAGIC` is 6 bytes long.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]