NSData replaceBytesInRange broken?
NSData replaceBytesInRange broken?
- Subject: NSData replaceBytesInRange broken?
- From: Dustin Mierau <email@hidden>
- Date: Sat, 22 Dec 2001 01:33:53 -0800
Hey,
So I want to remove a range of bytes in my NSMutableData object. I am
trying to do this:
[mData replaceBytesInRange:NSMakeRange( 0, 9 ) withBytes:""];
The size of my data object is not effected at all. Is this a bug in the
NSMutableData class, or am I using this method wrong? (I assume I am
using it incorrectly)
If I am using it incorrectly, I would like to know what is the best way
to do this?
Thanks,
-dustin