-
Notifications
You must be signed in to change notification settings - Fork 77
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
Support for GZ format #118
Comments
load("*.csv.gz")
with Libz
load("*.csv.gz")
with Libz
Very painful process of understanding it and turning it into Julia for registry https://tools.ietf.org/html/rfc1952#page-6 (GZ format specification) https://gist.github.com/hpoit/007ace3657b94fffd68530464a7d5ad9 If anyone knows of an existing code block representative of this please let me know! Otherwise I'm continuing on my gist. About the magic number, not sure if it's true From the spec |
Wait, what?
I think I just have to see how |
Hi @SimonDanisch, would this pass for registry and identifying a file is a GZIP? |
@SimonDanisch don't worry about it, I actually tried |
Okay, I think I've got the right question now: how do I read the first two bytes of a file to check if they are equal to If the first two bytes are equal to those, then the file is in GZIP format. |
Hi @SimonDanisch, can I PR this? Is it correct? |
Hi @SimonDanisch, here goes the test, not sure I passed it
Should I just PR for you to see what I've done? |
A PR would be great! |
I would like to inform that I am working towards making Libz compliant with FileIO.
The text was updated successfully, but these errors were encountered: