Open JeffFessler opened 1 year ago
Currently npzread is "hardwired" to read from a file: https://github.com/fhs/NPZ.jl/blob/838df340de225c9bc523372c07cd8efb291469ea/src/NPZ.jl#L271
npzread
It would be more flexible to expose a version of it that allows reading from an IOStream, e.g., for data loaded from a URL. It would be a simple refactoring of npzread. Would you be open to a PR for that?
Currently
npzread
is "hardwired" to read from a file: https://github.com/fhs/NPZ.jl/blob/838df340de225c9bc523372c07cd8efb291469ea/src/NPZ.jl#L271It would be more flexible to expose a version of it that allows reading from an IOStream, e.g., for data loaded from a URL. It would be a simple refactoring of npzread. Would you be open to a PR for that?