Search code examples
nsdatansmutabledata

Different between NSData and NSMutableData in iPhone


What is the difference between NSData and NSMutableData?


Solution

  • From the Stack Overflow tag-wikis:

    The NSData class is an apple class for holding generic data. Often used when reading/writing from and to files, and the internet.

    NSMutableData (and its superclass NSData) provide data objects, object-oriented wrappers for byte buffers.