[Previous] [Up] [Next]

NSMutableData

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSMutableData

NSMutableData

Declared in: Foundation/NSData.h

Conforms to: NSCoding



allocWithZone:

+ (id) allocWithZone: (NSZone*)zone;

dataWithCapacity:

+ (id) dataWithCapacity: (unsigned int)aNumItems;

dataWithLength:

+ (id) dataWithLength: (unsigned int)length;

appendBytes:length:

- (void) appendBytes: (const void*)bytes length: (unsigned int)length;

appendData:

- (void) appendData: (NSData*)otherData;

increaseLengthBy:

- (void) increaseLengthBy: (unsigned int)extraLength;

initWithCapacity:

- (id) initWithCapacity: (unsigned int)capacity;

initWithLength:

- (id) initWithLength: (unsigned int)length;

mutableBytes

- (void*) mutableBytes;

replaceBytesInRange:withBytes:

- (void) replaceBytesInRange: (NSRange)range withBytes: (const void*)bytes;

resetBytesInRange:

- (void) resetBytesInRange: (NSRange)range;

serializeAlignedBytesLength:

- (void) serializeAlignedBytesLength: (unsigned int)length;

serializeDataAt:ofObjCType:context:

- (void) serializeDataAt: (const void*)data ofObjCType: (const char*)type context: (id<NSObjCTypeSerializationCallBack>)callback;

serializeInt:

- (void) serializeInt: (int)value;

serializeInt:atIndex:

- (void) serializeInt: (int)value atIndex: (unsigned int)index;

serializeInts:

- (void) serializeInts: (int*)intBuffer;

serializeInts:count:atIndex:

- (void) serializeInts: (int*)intBuffer count: (unsigned int)numInts atIndex: (unsigned int)index;

setData:

- (void) setData: (NSData*)aData;

setLength:

- (void) setLength: (unsigned int)length;