ret = [data subdataWithRange:range];
#if MAC_OS_X_VERSION_10_2 <= MAC_OS_X_VERSION_MAX_ALLOWED
[data replaceBytesInRange:range withBytes:nil length:0]; // this should delete off the end. should test.
ret = [data subdataWithRange:range];
#if MAC_OS_X_VERSION_10_2 <= MAC_OS_X_VERSION_MAX_ALLOWED
[data replaceBytesInRange:range withBytes:nil length:0]; // this should delete off the end. should test.