pub fn load_chunk_decompressed(
rd: &mut SectorReader,
pack_lba: u32,
chunk_id: u32,
scratch: &mut [u32; 512],
dst: &mut [u32],
) -> Option<usize>Expand description
load_chunk, then crate::decompress_hlzc_in_place on the result.
Returns the chunk’s RAW byte length: the decompressed size for an HLZC
chunk, the stored size for an uncompressed one (raw passthrough). None
on any load or decode failure. dst must hold the raw payload plus the
in-place LZ4 margin (see the decompressor’s docs); a too-small buffer
fails cleanly.