Skip navigation.
 
mlRe: More GC. Now with NSData
FROM : Alastair Houghton
DATE : Mon Nov 26 21:50:35 2007

On 26 Nov 2007, at 20:38, Paul Sargent <<email_removed>> wrote:

> Just to be clear, -subdataWithRange will make a copy of the data 
> into it's own buffer, which the new NSData will own. Hence it'll be 
> safe. Right?


It might not make an actual copy if you're using an immutable NSData, 
but that's an implementation detail. The important thing is that it 
will be safe.

Kind regards,

Alastair

--
http://alastairs-place.net

Related mailsAuthorDate
mlMore GC. Now with NSData Paul Sargent Nov 26, 18:20
mlRe: More GC. Now with NSData Alastair Houghton Nov 26, 18:44
mlRe: More GC. Now with NSData Sherm Pendley Nov 26, 18:56
mlRe: More GC. Now with NSData Alastair Houghton Nov 26, 19:00
mlRe: More GC. Now with NSData Paul Sargent Nov 26, 21:38
mlRe: More GC. Now with NSData Alastair Houghton Nov 26, 21:50