Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnpy does not support large numpy headers #85

Open
TinkerSteve opened this issue Jun 27, 2022 · 0 comments
Open

cnpy does not support large numpy headers #85

TinkerSteve opened this issue Jun 27, 2022 · 0 comments

Comments

@TinkerSteve
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant