Encodes a binary into a hex encoded binary.
+Encodes a binary into a hex encoded binary using the specified case for the hexadecimal digits "a" to "f".
+The default case is
Example:
-Example:
- -
+
1> binary:encode_hex(<<"f">>).
-<<"66">>
+<<"66">>
+2> binary:encode_hex(<<"/">>).
+<<"2F">>
+3> binary:encode_hex(<<"/">>, lowercase).
+<<"2f">>
+4> binary:encode_hex(<<"/">>, uppercase).
+<<"2F">>
+