diff options
author | Magnus Ahltorp <map@kth.se> | 2014-09-25 15:18:39 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2014-09-25 15:18:39 +0200 |
commit | 48f0cff6aaed918cedc8a1eadfd2bf08c58c810e (patch) | |
tree | e26cdc04daad156c62fef7d733f1465340166ea6 /src/hex.erl | |
parent | 47bc655b471c86b47090ea91d526d3961dc6aaf6 (diff) |
Added atomic modulefsync2
Diffstat (limited to 'src/hex.erl')
-rw-r--r-- | src/hex.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hex.erl b/src/hex.erl index e3c8441..1eb1e6a 100644 --- a/src/hex.erl +++ b/src/hex.erl @@ -4,6 +4,7 @@ -module(hex). -export([bin_to_hexstr/1,hexstr_to_bin/1]). +-spec bin_to_hexstr(binary()) -> string(). bin_to_hexstr(Bin) -> lists:flatten([io_lib:format("~2.16.0B", [X]) || X <- binary_to_list(Bin)]). |