-
Notifications
You must be signed in to change notification settings - Fork 92
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
BufferedReader/writer for general IO? #233
Comments
Hi @grero , this sounds like an interesting idea that could be useful in some applications. I would recommend that you fork JLD2 and just try it out |
I'm close to having something that sort of works here: grero/SecureRemoteFiles.jl#4 |
Hi @grero, I just wanted to ask whether you've made any progress on this |
Hey, |
Hi, I think you're right. I haven't seen any explicit tests for that either. |
I was wondering whether it would be feasible to have BufferedReader/Writer work for general io, rather than just for IOStream? The reason I'm asking is that I'm experimenting with reading parts of large jld2 files (several 10s of G) over sftp. I implemented an IO compliant interface for reading/writing and seeking, and now I would like to have BufferedReader be able to read from this IO. Looking at the source, it seems that if the
io
field ofBufferedReader
were of typeIO
rather thanIOStream
, I could use it without having to re-implement the BufferedReader interface. I'd be interesting in any thoughts on this approach. Thanks!The text was updated successfully, but these errors were encountered: