Skip to main content

decode_raster_from_m64_v3

Function decode_raster_from_m64_v3 

Source
pub fn decode_raster_from_m64_v3(
    reader: &M64Reader<'_>,
    cancelled: &AtomicBool,
    out: &mut [i32],
) -> Result<(usize, GeodeticFrame), RasterM64Error>
Expand description

Losslessly recover the original integer samples and exact frame declarations. Output capacity/cancellation are checked before mutation. Final bounded copy is non-interruptible; an arriving cancellation may complete successfully.