Skip to content

Add version check to Python impl reader #6

@daniel-j-h

Description

@daniel-j-h

At the moment we do not check the file header version in the Python impl.

We need to check that and bail out in case our reader is not compatible (or no longer compatible) with a file header version.

Ideally we would

  • keep the file header fixed; it's already a fixed size in the spec
  • always read the file header first and check its version
  • based on the version dispatch to specific readers like v1.reader and v2.reader and so on
  • if we can not handle a specific version, bail out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions