Functionuint8ArrayToBytes

  • Converts a Uint8Array to a Bytes object.

    Arguments

    • uint8_array - The Uint8Array to convert.

    Returns

    A Bytes object containing the converted value.

    Parameters

    • uint8_array: Uint8Array

    Returns Bytes