decode_metadata_with_encryption

Function decode_metadata_with_encryption 

Source
fn decode_metadata_with_encryption(
    buf: &[u8],
    encrypted_footer: bool,
    file_decryption_properties: Option<&FileDecryptionProperties>,
) -> Result<ParquetMetaData>
Expand description

Decodes ParquetMetaData from the provided bytes, handling metadata that may be encrypted.

Typically this is used to decode the metadata from the end of a parquet file. The format of buf is the Thrift compact binary protocol, as specified by the Parquet Spec. Buffer can be encrypted with AES GCM or AES CTR ciphers as specfied in the Parquet Encryption Spec.