Skip to main content

Crate patina_ffs_extractors

Crate patina_ffs_extractors 

Source
Expand description

§Section Extractor Implementations

This crate provides a set of Implementations for the patina::pi::fw_fs::SectionExtractor trait.

§Features

This crate contains the following features, where each feature corresponds to a different implementation of the SectionExtractorLib trait. The crate is configured in this manner to reduce compilation times, by only compiling the necessary implementations.

  • brotli: Enables the SectionExtractorLibBrotli implementation.
  • crc32: Enables the Crc32SectionExtractor implementation to validate CRC32 GUID-defined sections and return the verified payload.
  • lzma: Enables the LzmaSectionExtractor implementation for GUID-defined LZMA compressed sections.

§License

Copyright (c) Microsoft Corporation.

SPDX-License-Identifier: Apache-2.0

Structs§

BrotliSectionExtractor
Provides decompression for Brotli GUIDed sections.
CompositeSectionExtractor
Provides a composite section extractor that combines all section extractors based on enabled feature flags.
Crc32SectionExtractor
Provides extraction for CRC32 sections.
LzmaSectionExtractor
Provides decompression for LZMA GUIDed sections.
NullSectionExtractor
A section extractor that always returns Unsupported.