diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-10-08 16:18:23 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-10-08 16:18:23 +0200 |
commit | 9d2ef27d1427ef1c61c497c272a74506d651771a (patch) | |
tree | 48847b4dd27646a186b52b2040e2597fb179b3d8 /src/hex.erl | |
parent | 6bceff8e5d10eff9ca59571e80a017afae347ced (diff) | |
parent | 409ea0e5857acffe36ebc977bdce843f994a00aa (diff) |
Merge remote-tracking branch 'refs/remotes/map/fsync4' into origin-master
Conflicts:
src/db.erl
src/plop.erl
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)]). |