NSData

E236684

NSData is a fundamental Objective-C class in Apple’s Foundation framework that represents immutable raw binary data.

All labels observed (4)

Label Occurrences
NSData canonical 3
Data (Swift struct) 1
NSDictionary 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Foundation framework class
Objective-C class
availableOn iOS
iPadOS
macOS
tvOS
watchOS
bridgesTo NSData self-linksurface differs
surface form: Data (Swift struct)
canBeConvertedTo base64-encoded string
hex representation
canBeCreatedFrom URL contents
base64-encoded string
bytes buffer
file contents
category data container class
conformsTo NSCopying
NSMutableCopying
NSSecureCoding
definedIn Foundation framework
developedBy Apple Inc.
frameworkHeader <Foundation/NSData.h>
hasMutableSubclass NSData self-linksurface differs
surface form: NSMutableData
hasMutableVariant true
introducedIn macOS Cocoa
surface form: Cocoa API
isImmutable true
memoryManagement managed by ARC in modern Objective-C
programmingLanguage Objective-C
relatedTo NSFileHandle
NSMutableData
NSString
represents byte buffer
immutable raw binary data
superclass NSObject
supports base64 decoding
base64 encoding
byte access via pointers
byte-length queries
reading from file URLs
secure coding
subdata extraction
writing to file URLs
threadSafety instances are generally safe for concurrent read access
usedFor archiving
data serialization
file I/O
image and media data storage
network communication payloads
usedInLanguage Swift

How these facts were elicited

Referenced by (6)

Full triples — surface form annotated when it differs from this entity's canonical label.

Foundation framework includes NSData
this entity surface form: NSDictionary
NSData hasMutableSubclass NSData self-linksurface differs
this entity surface form: NSMutableData
NSData bridgesTo NSData self-linksurface differs
this entity surface form: Data (Swift struct)
Foundation includesType NSData