code: def write(self, data):
          
          size = min(len(data), self.max_size - self.pos)
          for i in range(self.pos, self.pos + size):
              self.array[i] = data[i - self.pos]
docs: Writes the symbolic bytes in C{data} onto the file.