Erase [n] elements.

def truncate(self, n):
        """Erase [n] elements."""
        # Current byte position - (n * data_size)
        size = self.size - n * self.__strct.size

        # Erase [size] bytes from file.tell()
        self.__file.truncate(size)