
Xdffileio is a library that provides a unified interface for writing and reading various biosignal file formats in realtime (i.e. streaming). it has been designed to provide a flexible, consistent and generic interface to all supported file formats while minimizing the overhead of the function calls: the heaviest operations (type casting, scaling and formatting) are offloaded into a separated thread. this design makes its particularly suitable to be directly used in a data acquisition loop (like in electrophysiology recording or in brain-computer interfaces (bci)).
the genericity of the interface makes trivial various operations like transformation of a recorded file or its conversion to another file format. xdffileio currently supports edf, bdf, gdf1 and gdf2 file formats and more will be added in future.