array_object

Macro export_obj

source
macro_rules! export_obj {
    ($path:literal,$x:expr) => { ... };
}
Expand description

A macro to save the data into a file.

use array_object::*;
let data = vec![1f64, 2.2, -1.1, 5.6];
export_obj!("testdata.bin", original.clone());