Skip to content

cnpy does not support large numpy headers #85

Description

@TinkerSteve

Looking at the npy specification

https://numpy.org/devdocs/reference/generated/numpy.lib.format.html

it seems like npy file headers can be up to 65535 bytes long.

but cnpy assumes here

https://github.com/rogersce/cnpy/blob/master/cnpy.cpp#L105

that the header will fit a char array of size 256.

This causes trouble on my end, though easy to fix ..... Or amy Missing something here ?

Best Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions