Crate xdf

Source
Expand description

github crates

Read (and maybe one day write) XDF files Currently the only supported XDF version is 1.0. (at the time of writing, this the only version that exists)

This library provides a way to read files in the [XDF format] as specified by SCCN.

§Example

let bytes = fs::read("tests/minimal.xdf")?;
let xdf_file = XDFFile::from_bytes(&bytes)?;

Structs§

Sample
A single sample in a stream. Samples may have a timestamp and one or more values.
XDFFile
XDF file struct
The main struct representing an XDF file.

Enums§

Format
Possible formats for the data in a stream as given in the specification.
Values
The values of a sample in a stream. The values are stored as a vector of the corresponding type (or a string).