File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,14 @@ module Dummy
61
61
62
62
using FileIO
63
63
64
- function FileIO . load (file:: File{format"DUMMY"} )
64
+ function load (file:: File{format"DUMMY"} )
65
65
open (file) do s
66
66
skipmagic (s)
67
67
load (s)
68
68
end
69
69
end
70
70
71
- function FileIO . load (s:: Stream{format"DUMMY"} )
71
+ function load (s:: Stream{format"DUMMY"} )
72
72
# We're already past the magic bytes
73
73
n = read (s, Int64)
74
74
out = Vector {UInt8} (n)
@@ -77,7 +77,7 @@ function FileIO.load(s::Stream{format"DUMMY"})
77
77
out
78
78
end
79
79
80
- function FileIO . save (file:: File{format"DUMMY"} , data)
80
+ function save (file:: File{format"DUMMY"} , data)
81
81
open (file, " w" ) do s
82
82
write (s, magic (format " DUMMY" )) # Write the magic bytes
83
83
write (s, convert (Int64, length (data)))
You can’t perform that action at this time.
0 commit comments