rustdf::data::utility

Function parse_decompressed_bruker_binary_data

Source
pub fn parse_decompressed_bruker_binary_data(
    decompressed_bytes: &[u8],
) -> Result<(Vec<u32>, Vec<u32>, Vec<u32>), Box<dyn Error>>
Expand description

Parses the decompressed bruker binary data

§Arguments

  • decompressed_bytes - A byte slice that holds the decompressed data

§Returns

  • scan_indices - A vector of u32 that holds the scan indices
  • tof_indices - A vector of u32 that holds the tof indices
  • intensities - A vector of u32 that holds the intensities