Function fromBytes

  • Converts bytes to an I256 value

    Parameters

    • bytes: Uint8Array

      The bytes to convert

    Returns I256_t

    The I256 representation of the bytes

    Remarks

    Silently ignores bytes that are not needed to represent the I256 value.