code: def push(self, value):
          
  
          stream = DataStream.FromEncoded(value.stream)
  
          if stream.stream_type == DataStream.OutputType:
              if len(self.streaming_data) == self.streaming_length:
                  raise StorageFullError('Streaming buffer full')
  
              self.streaming_data.append(value)
          else:
              if len(self.storage_data) == self.storage_length:
                  raise StorageFullError('Storage buffer full')
  
              self.storage_data.append(value)
docs: Store a new value for the given stream.
  
          Args:
              value (IOTileReading): The value to store.  The stream
                  parameter must have the correct value