Function decode_metadata

Source
pub fn decode_metadata(buf: &[u8]) -> Result<ParquetMetaData>
👎Deprecated since 53.1.0: Use ParquetMetaDataReader::decode_metadata
Expand description

Decodes ParquetMetaData from the provided bytes.

Typically this is used to decode the metadata from the end of a parquet file. The format of buf is the Thift compact binary protocol, as specified by the Parquet Spec.