Skip to content

MdfReader::ReadPartialData doesn't always read data when encountering DZ blocks #159

@chrisblaylock

Description

@chrisblaylock

I need to determine the timespan of the data, which requires reading the first and last samples of each time channel. The first sample is fine, but calling ReadPartialData fails for the final sample as it lives in a DZ block, and ReadCache doesn't cope with skipping bytes in these blocks, as it assumes if file_buffer_ isn't empty, that it has been populated, so you just get 0 values. I have a WIP fix for this that I aim to create a PR for once I've finished the rest of my implementation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions