Set the data slice size.

def set_size(self, data_size):
        """
        Set the data slice size.
        """
        if len(str(data_size)) > self.first:
            raise ValueError(
              'Send size is too large for message size-field width!')
        
        self.data_size = data_size