MonobjcMonobjc Documented Class Library
NSMutableData Constructor
NamespacesMonobjc.FoundationNSMutableDataNSMutableData()()()()
Members
IconMemberDescription
NSMutableData(NSUInteger)

Returns an initialized NSMutableData object capable of holding the specified number of bytes.

Original signature is '- (id)initWithCapacity:(NSUInteger)capacity'

Available in Mac OS X v10.0 and later.


NSMutableData(IntPtr, NSUInteger)

Returns a data object initialized by adding to it a given number of bytes of data copied from a given buffer.

Original signature is '- (id)initWithBytes:(const void *)bytes length:(NSUInteger)length'

Available in Mac OS X v10.0 and later.


NSMutableData(IntPtr, NSUInteger, Boolean)

Initializes a newly allocated data object by adding to it length bytes of data from the buffer bytes.

Original signature is '- (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)flag'

Available in Mac OS X v10.2 and later.


NSMutableData(NSString)

Returns a data object initialized by reading into it the data from the file specified by a given path.

Original signature is '- (id)initWithContentsOfFile:(NSString *)path'

Available in Mac OS X v10.0 and later.


NSMutableData(NSString, NSDataReadingOptions, NSError%)

Returns a data object initialized by reading into it the data from the file specified by a given path.

Original signature is '- (id)initWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)mask error:(NSError **)errorPtr'

Available in Mac OS X v10.4 and later.


NSMutableData(NSURL)

Initializes a newly allocated data object initialized with the data from the location specified by aURL.

Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL'

Available in Mac OS X v10.0 and later.


NSMutableData(NSURL, NSDataReadingOptions, NSError%)

Returns a data object initialized with the data from the location specified by a given URL.

Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL options:(NSDataReadingOptions)mask error:(NSError **)errorPtr'

Available in Mac OS X v10.4 and later.


NSMutableData(NSData)

Returns a data object initialized with the contents of another data object.

Original signature is '- (id)initWithData:(NSData *)data'

Available in Mac OS X v10.0 and later.


NSMutableData(NSCoder)

Returns an object initialized from data in a given unarchiver. (required)

Original signature is '- (id)initWithCoder:(NSCoder *)decoder'

Available in Mac OS X v10.0 and later.


NSMutableData()()()()
Initializes a new instance of the NSMutableData class.

NSMutableData(IntPtr)
Initializes a new instance of the NSMutableData class.

NSMutableData(String, Object, array<Object>[]()[][])
Initializes a new instance of the NSMutableData class.

NSMutableData(array<Byte>[]()[][])
Initializes a new instance of the NSMutableData class.

NSMutableData(array<Byte>[]()[][], UInt32)
Initializes a new instance of the NSMutableData class.

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)