def le16(data, start=0):
    """
    Read value from byte array as a long integer

    :param bytearray data:  Array of bytes to read from
    :param int start:  Offset to start reading at
    :return int:  An integer, read from the first two bytes at the offset.
    """
    raw = bytearray(data)
    return raw[start] + (raw[start + 1] << 8)