Skip to content

Commit

Permalink
fix reverse_endian for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsuo committed Dec 15, 2014
1 parent e234985 commit d4174a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function reverse_endian(hex_string::String)
return join(reverse(hex_string_to_array(hex_string)))
return join([hex(x, 2) for x in reverse(hex_string_to_array(hex_string))])
end

function reverse_endian(hex_data::Number)
Expand Down

0 comments on commit d4174a5

Please sign in to comment.