Skip to content

Commit

Permalink
Update arrow-ipc/src/reader.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Liang-Chi Hsieh <[email protected]>
  • Loading branch information
tustvold and viirya authored Dec 30, 2023
1 parent 37223cf commit 612277f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-ipc/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ fn parse_message(buf: &[u8]) -> Result<Message, ArrowError> {
.map_err(|err| ArrowError::ParseError(format!("Unable to get root as message: {err:?}")))
}

/// Read the footer length from the last 10 bytes of a file
/// Read the footer length from the last 10 bytes of an Arrow IPC file
///
/// Expects a 4 byte footer length followed by `b"ARROW1"`
pub fn read_footer_length(buf: [u8; 10]) -> Result<usize, ArrowError> {
Expand Down

0 comments on commit 612277f

Please sign in to comment.