• Converts a Uint8Array to a hexadecimal string representation, prefixed with '0x'.

    Parameters

    • bytes: Uint8Array<ArrayBufferLike>

      The Uint8Array to convert.

    Returns string

    The hexadecimal string representation (e.g., "0x0a1b2c").