from typing import Tuple
import struct


def bytes_to_shortint(byteStream: bytes) -> Tuple[int]:
    """Converts 2 bytes to a short integer"""
    # Ignore this in typing, as the 'H' will guarantee ints are returned
    return struct.unpack('H', byteStream)