NSData Class Reference
PDF
Overview
Adopted Protocols
Tasks
Creating Data Objects
Accessing Data
Testing Data
Storing Data
Deprecated Methods
Class Methods
data
dataWithBytes:length:
dataWithBytesNoCopy:length:
dataWithBytesNoCopy:length:freeWhenDone:
dataWithContentsOfFile:
dataWithContentsOfFile:options:error:
dataWithContentsOfMappedFile:
dataWithContentsOfURL:
dataWithContentsOfURL:options:error:
dataWithData:
Instance Methods
bytes
description
getBytes:
getBytes:length:
getBytes:range:
initWithBytes:length:
initWithBytesNoCopy:length:
initWithBytesNoCopy:length:freeWhenDone:
initWithContentsOfFile:
initWithContentsOfFile:options:error:
initWithContentsOfMappedFile:
initWithContentsOfURL:
initWithContentsOfURL:options:error:
initWithData:
isEqualToData:
length
subdataWithRange:
writeToFile:atomically:
writeToFile:options:error:
writeToURL:atomically:
writeToURL:options:error:
Constants
Options for NSData Reading Methods
Options for NSData Writing Methods
Appendix A: Deprecated NSData Methods
Deprecated in Mac OS X v10.2
deserializeAlignedBytesLengthAtCursor:
deserializeBytes:length:atCursor:
deserializeDataAt:ofObjCType:atCursor:context:
deserializeIntAtCursor:
deserializeIntAtIndex:
deserializeInts:count:atCursor:
deserializeInts:count:atIndex:
Revision History
Index
Companion Guides
Binary Data Programming Guide for Cocoa
Property List Programming Guide for Cocoa