title: Split NSData objects into other NSData objects of a given size
body: <p>I have an NSData object of approximately 1000kB in size. Now I want to transfer this via Bluetooth. It would be better if I have, let's say, 10 objects of 100kB. It comes to mind that I should use the <code>-subdataWithRange:</code> method of NSData.</p>
  
  <p>I haven't really worked with NSRange. Well, I know how it works, but I can't figure out how to read from a given location with the length: 'to end of file'... I've no idea how to do that.</p>
  
  <p>Some code on how to split this into multiple 100kB NSData objects would really help me out here. (it probably involves the <code>-length</code> method to see how many objects should be made..?)</p>
  
  <p>Thank you in advance.</p>