def get_space_packet_header(
    packet_id: int, packet_sequence_control: int, data_length: int
) -> bytearray:
    """Retrieve raw space packet header from the three required values"""
    header = bytearray()
    header.append((packet_id & 0xFF00) >> 8)
    header.append(packet_id & 0xFF)
    header.append((packet_sequence_control & 0xFF00) >> 8)
    header.append(packet_sequence_control & 0xFF)
    header.append((data_length & 0xFF00) >> 8)
    header.append(data_length & 0xFF)
    return header