Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre committed Sep 28, 2024
1 parent 8f9eb74 commit 80448c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/readstring.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ function readstring(io::IO, stringlength::Int64)
return unsafe_string(pointer(buf))
end

function peektypeold(io::IO, T::DataType)
p = position(io)
res = read(io, T)
seek(io, p)
return res
end
# function peektypeold(io::IO, T::DataType)
# p = position(io)
# res = read(io, T)
# seek(io, p)
# return res
# end

function peektype(io::IO, T::DataType)
mark(io)
Expand Down

0 comments on commit 80448c9

Please sign in to comment.