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), 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),
On May 7, 2014, at 9:21 AM, 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), so long as range is valid?
If it’s a valid sub-range of the
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.