On 07 May 2014, at 18:21, William Squires wrote:
> Quickie question: Does [NSData getBytes:range:] return .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 by
On May 7, 2014, at 9:21 AM, William Squires wrote:
> Quickie question: Does [NSData getBytes:range:] return .length bytes
> into the buffer specified, even if some of the bytes may be '\0' (terminating
> null), so long as range is valid?
If it’s a valid sub-range of the data it’ll copy range.
Quickie question: Does [NSData getBytes:range:] return .length bytes
into the buffer specified, even if some of the bytes may be '\0' (terminating
null), so long as range is valid? I'm trying to read in a specified record from
a random-access file (record length is 1000 bytes = kRecSize), and I