fhs / NPZ.jl

A Julia package that provides support for reading and writing Numpy .npy and .npz files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support reading from an IOStream

JeffFessler opened this issue · comments

Currently npzread is "hardwired" to read from a file:

f = open(filename)

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?