Function fromBytes

  • Converts bytes to an I16 value

    Parameters

    • bytes: Uint8Array

      The bytes to convert

    Returns I16_t

    The I16 representation of the bytes

    Remarks

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