Struct hdf5::Writer
[−]
[src]
pub struct Writer<'l> { // some fields omitted }
A writer.
Writers are suitable for storing large arrays.
Methods
impl<'l> Writer<'l>
[src]
fn new(file: &'l mut File, name: &str, dimensions: &[usize]) -> Writer<'l>
Create a writer.
If the dataset already exists, it will be overwritten.
fn write<T: IntoData>(&mut self, data: T, position: &[usize], size: &[usize]) -> Result<()>
Write data.
The function writes a chunk of data at a particular position with a particular size. The datatype should stay unchanged from one invocation to another.