Module leo_hex

leo_hex is utilities for calculation of hexadecimal.

References

Description

leo_hex is utilities for calculation of hexadecimal

Function Index

binary_to_hex/1Convert the value from binary to hex.
binary_to_hexbin/1Convert the value from binary to hexbin.
binary_trim/1Trim Space from Binary.
hex_to_integer/1Convert the value from hex to integer.
hex_to_string/1Convert the value from hex to string.
integer_to_hex/2Convert the value from integer to hex.
integer_to_raw_binary/1Convert the value from integer to raw-binary.
integer_to_raw_binary/2Convert the value from integer to raw-binary.
raw_binary_to_integer/1Convert the value from binary to integer.

Function Details

binary_to_hex/1

binary_to_hex(Bin) -> string()

Convert the value from binary to hex

binary_to_hexbin/1

binary_to_hexbin(Bin) -> binary()

Convert the value from binary to hexbin

binary_trim/1

binary_trim(Bin) -> binary()

Trim Space from Binary

hex_to_integer/1

hex_to_integer(Hex) -> integer()

Convert the value from hex to integer

hex_to_string/1

hex_to_string(Hex) -> string()

Convert the value from hex to string

integer_to_hex/2

integer_to_hex(I, Len) -> string()

Convert the value from integer to hex

integer_to_raw_binary/1

integer_to_raw_binary(I) -> binary()

Convert the value from integer to raw-binary

integer_to_raw_binary/2

integer_to_raw_binary(I, Len) -> binary()

Convert the value from integer to raw-binary

raw_binary_to_integer/1

raw_binary_to_integer(Bin) -> integer()

Convert the value from binary to integer


Generated by EDoc