Skip to content

Commit 10788ca

Browse files
committed
remove unused methods
1 parent 3ad0837 commit 10788ca

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/io.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,3 @@ function unsafe_read(input::IO, output::Ptr{UInt8}, nbytes::Int)::Int
2727
nread += n
2828
return nread
2929
end
30-
31-
function unsafe_read(input::IO, mem::Memory)
32-
return unsafe_read(input, mem.ptr, Int(mem.size))
33-
end
34-
35-
function unsafe_write(output::IO, ptr::Ptr{UInt8}, nbytes::Int)::Int
36-
return Base.unsafe_write(output, ptr, nbytes)
37-
end
38-
39-
function unsafe_write(output::IO, mem::Memory)
40-
return Base.unsafe_write(output, mem.ptr, mem.size)
41-
end

0 commit comments

Comments
 (0)