def _read_next_bytes(
        fid, num_bytes, format_char_sequence, endian_character="<"
    ):
        """Read and unpack the next bytes from a binary file.
        :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, etc.
        :param format_char_sequence: List of {c, e, f, d, h, H, i, I, ...}.
        :param endian_character: Any of {@, =, <, >, !}
        :return: Tuple of read and unpacked values.
        """
        data = fid.read(num_bytes)
        return struct.unpack(endian_character + format_char_sequence, data)
Read and unpack the next bytes from a binary file.
        :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, etc.
        :param format_char_sequence: List of {c, e, f, d, h, H, i, I, ...}.
        :param endian_character: Any of {@, =, <, >, !}
        :return: Tuple of read and unpacked values.
        
photogrammetry_importer/file_handlers/mve_file_handler.py