Function parquet::file::footer::decode_footer
source · pub fn decode_footer(slice: &[u8; 8]) -> Result<usize>
👎Deprecated since 53.1.0: Use ParquetMetaDataReader::decode_footer
Expand description
Decodes the Parquet footer returning the metadata length in bytes
A parquet footer is 8 bytes long and has the following layout:
- 4 bytes for the metadata length
- 4 bytes for the magic bytes ‘PAR1’
+-----+--------+
| len | 'PAR1' |
+-----+--------+