NSMutableData

E821132

NSMutableData is a mutable subclass of NSData in Apple’s Foundation framework that allows dynamically modifying and managing a buffer of binary data.

All labels observed (1)

Label Occurrences
NSMutableData canonical 2

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf Foundation class
class
mutable data buffer type
availableOn iOS
macOS
tvOS
watchOS
bridgedTo Swift Data (mutable behavior via inout / mutating APIs)
canBeArchived true
canBeCopied true
canBeMutableCopied true
canGrowDynamically true
conformsTo NSCopying
NSMutableCopying
NSSecureCoding
definedInFramework Foundation
headerFile <Foundation/NSData.h>
introducedInPlatform iOS
macOS
isMutable true
isReferenceType true
language Objective-C
memoryManagement managed by ARC in Objective-C
method + dataWithCapacity:
+ dataWithLength:
- appendBytes:length:
- appendBytesNoCopy:length:freeWhenDone:
- appendData:
- increaseLengthBy:
- initWithCapacity:
- initWithLength:
- length
- mutableBytes
- replaceBytesInRange:withBytes:
- replaceBytesInRange:withBytes:length:
- resetBytesInRange:
- setData:
- setLength:
module Foundation
stores raw bytes
subclassOf NSData
superclass NSData
threadSafety not inherently thread-safe
tollFreeBridgedWith CFMutableDataRef
usedFor building and modifying byte buffers
file data manipulation in memory
managing mutable binary data
network data buffering
serializing and deserializing binary formats

How these facts were elicited

Referenced by (2)

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

NSData relatedTo NSMutableData
NSMutableCopying usedByClass NSMutableData