Data on the network is always transmitted in bytes, regardless of any platform. NSData will finally be converted to byte data before being sent over the network. At a higher level, your data should be in NSData format, but at a lower level, in bytes .. So in ios it will be either Bytes of Data (if you use NSInputstream to load data) or NSData (which will finally be converted to Bytes again and sent over the network)
source share