Browse Source

IOS-2794 Dare to use subdataUncopiedWithRange

componentsSeparatedByCString
IOS-2794
Dirk Zimmermann 1 year ago
parent
commit
27c43d4a9b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pantomime-lib/Framework/Pantomime/NSData+Extensions.m

+ 1
- 1
pantomime-lib/Framework/Pantomime/NSData+Extensions.m View File

@ -764,7 +764,7 @@ static const char *hexDigit = "0123456789ABCDEF";
while (r2.length)
{
[aMutableArray addObject: [self subdataWithRange: NSMakeRange(r1.location, r2.location - r1.location)]];
[aMutableArray addObject: [self subdataUncopiedWithRange: NSMakeRange(r1.location, r2.location - r1.location)]];
r1.location = r2.location + r2.length;
r1.length = len - r1.location;


Loading…
Cancel
Save