• Returns a hex string by slicing data from the start offset to the end offset.

    Parameters

    • data: BytesLike

      the data to be sliced.

    • Optionalstart: number

      the start offset (default: 0).

    • Optionalend: number

      the end offset (default: length of data).

    Returns string

    • a sliced hex string from start to end.