Function convertByteArrayToString

Converts a byte array into string Inverse function convertStringToByteArray

  • Parameters

    • byteArray: Uint8Array

      The byte array to be converted

    • startIndex: number = 0

      The starting index of array to be converted (Default: 0)

    • length: number = null

      The number of bytes to be considered, iff startIndex is given. If null the byte array's length is considered

    Returns string

    The converted string