0

I want to appending the data in NSInputStream without using NSMutable data append.

Is it possible to do it?

Please guide me

Finder
  • 8,259
  • 8
  • 39
  • 54
  • if you dont use mutableData, you can create a new instance everytime and keep on appending. But not the best way. – Anoop Vaidya Jun 03 '13 at 09:13
  • Hi Thanks Anoop. Please make me clear. create new instance means? – Finder Jun 03 '13 at 09:15
  • just like `NSString *string=[NSString stringWithFormat:@"%@",oldString];` inssstead of this you can use mutablestring and keep on appeding. – Anoop Vaidya Jun 03 '13 at 09:18
  • Girija, Please say in more detail what you are trying to do. If you are appending to the data, are you sure you want to use NSInputStream? It sounds to me like you want to be using NSOutputStream. – TheBasicMind Jun 03 '13 at 12:49

0 Answers0