Skip to main content

Module hex_utils

Module hex_utils 

Source
Expand description

Hexadecimal encoding and decoding utilities.

This module provides convenient functions for working with hexadecimal representations of binary data.

Functionsยง

bytes_to_u128
Converts bytes to a u128 value.
decode_hex
Decodes a hexadecimal string to bytes.
encode_hex
Encodes bytes as a hexadecimal string.
u128_to_bytes
Converts a u128 value to bytes.