Open ericphanson opened 1 year ago
I think this is something that'd have to be handled by EDF.jl itself before OndaEDF could reasonably expose this. EDF.jl could store e.g. the number of bytes that didn't get read from the stream, which would be 0 for untruncated files. There are cases where that can't be determined though (cf. https://github.com/beacon-biosignals/EDF.jl/pull/62).
Currently, it is just a warning in EDF.jl, but I think accessing this information programatically could be useful.