Function orc_format::read::read_stripe_footer
source · [−]pub fn read_stripe_footer<R: Read + Seek>(
reader: &mut R,
metadata: &FileMetadata,
stripe: usize,
scratch: &mut Vec<u8>
) -> Result<StripeFooter, Error>
Expand description
Reads, decompresses and deserializes the stripe’s footer as StripeFooter
using
scratch
as an intermediary memory region.
Implementation
This function is guaranteed to perform exactly one seek and one read to reader
.