import struct


def read_u2(data):
    """
    Reads a u2 from the data. (Unsigned short)
    :param data: Binary class file data
    :return: Unsigned short, trimmed data
    """
    return struct.unpack(">H", data[:2])[0], data[2:]