Skip to content

Commit a584b10

Browse files
committed
Add JLD2 to data formats
1 parent 2f77c74 commit a584b10

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)