On 07 May 2014, at 18:21, William Squires <wsqui...@satx.rr.com> wrote:
> Quickie question: Does [NSData getBytes:range:] return <range>.length bytes 
> into the buffer specified, even if some of the bytes may be '\0' (terminating 
> null),

The concept of terminating zeroes only exists in strings. NSData will preserve 
the bytes as they were given and copy them out. If they're zeroes, then they're 
zeroes.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to