@staticmethod
def _get_last_six_bits_of_pointer(label_length: bytes) ->bytes:
    """
        Retrieves the last six bits of the label_length bytes, to be used in decoding the pointer.

        :param label_length: the label_length bytes that contain the pointer.
        :return: the last six bits of the label_length bytes
        """
    bitmask: int = int.from_bytes(b'?', 'big')
    label_length_as_int: int = int.from_bytes(label_length, 'big')
    return (label_length_as_int & bitmask).to_bytes(1, 'big')
