Endo
    Preparing search index...

    Variable encodeHexConst

    encodeHex: (bytes: Uint8Array<ArrayBufferLike>) => string = ...

    Encodes a Uint8Array as a lowercase hex string.

    Dispatches to the native Uint8Array.prototype.toHex intrinsic when available (stage-4 TC39 proposal-arraybuffer-base64). Otherwise falls through to the pure-JavaScript polyfill.

    Type Declaration

      • (bytes: Uint8Array<ArrayBufferLike>): string
      • Pure-JavaScript hex encoder, exported for benchmarking and for environments where the native TC39 Uint8Array.prototype.toHex intrinsic (proposal-arraybuffer-base64) is unavailable or has been removed. See encodeHex below for the dispatched default.

        Emits lowercase hex. Callers that need uppercase can call .toUpperCase() on the result.

        Parameters

        • bytes: Uint8Array<ArrayBufferLike>

        Returns string