Skip to content

Allow for more values of windowbits #100

Description

@mkoculak

While trying to figure out why Matlab can read its own compressed .mat files that have a missing checksum, I found info that it just doesn't check it and that this can be replicated with zlib with setting the proper negative value of windowbits.
It works when I comment out the check:

if !(8 windowbits 15)
throw(ArgumentError("windowbits must be within 8..15"))
end

but maybe we could just allow other ranges of valid values (or at least the one from -15 to -8)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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