Module tql_bin

Function Index

join/2Joins a list of binaries with a separator.
to_hex/1Encodes a binary in hexadecimal.

Function Details

join/2

join(Parts, Separator) -> binary()

Joins a list of binaries with a separator.

     V = tql_bin:join([<<"a">>, <<"b">>, <<"c">>], <<", ">>),
     V = <<"a, b, c">>.

to_hex/1

to_hex(Bin::binary()) -> binary()

Encodes a binary in hexadecimal.

     R = tql_bin:to_hex(<<"foobar">>),
     R = <<"666f6f626172">>.


Generated by EDoc