Skip to content

Commit 530ed87

Browse files
authored
Merge pull request #139 from JuliaIO/sjk/jld2
Add JLD2 to data formats
2 parents 2f77c74 + a584b10 commit 530ed87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/registry.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
### Simple cases
22

33
# data formats
4-
add_format(format"JLD", "Julia data file (HDF5)", ".jld", [:JLD])
4+
add_format(format"JLD", (Vector{UInt8}("Julia data file (HDF5), version 0.0"),
5+
Vector{UInt8}("Julia data file (HDF5), version 0.1")), ".jld", [:JLD])
6+
add_format(format"JLD2", "Julia data file (HDF5), version 0.2", ".jld2", [:JLD2])
57
add_format(format"GZIP", [0x1f, 0x8b], ".gz", [:Libz])
68

79
# test for RD?2 magic sequence at the beginning of R data input stream

0 commit comments

Comments
 (0)