AllCodecs
struct AllCodecsUNCOMPRESSED, SNAPPY, GZIP, ZSTD, BROTLI, LZ4_RAW and legacy LZ4 — every codec the Parquet spec defines.
Implements CodecSet, Movable
supports
def supports(codec: Int32) -> Bool decompress
def decompress[page_origin: ImmOrigin, scratch_origin: MutOrigin](codec: Int32, data: Span[UInt8, page_origin], uncompressed_size: Int, ref[scratch_origin] scratch: List[UInt8]) -> Span[UInt8, origin_of(page_origin, scratch_origin)].Immutable compress
def compress(codec: Int32, data: Span[UInt8]) -> List[UInt8]