NSData question
NSData question
- Subject: NSData question
- From: Jason Moore <email@hidden>
- Date: Tue, 2 Apr 2002 14:16:48 -0600
Hello. Can anyone help me with NSData's
deserializeBytes:length:atCursor: method? It's exactly what i've been
looking for, but i'm having trouble getting it to work.
- (void)deserializeBytes:(void *)buffer length:(unsigned)bytes
atCursor:(unsigned *)cursor
i have a char* array i'm using for the 'buffer' argument, and an
unsigned int for 'bytes', but i'm not sure exactly how to do 'cursor'.
is it a pointer to an unsigned int? where should it start, the address
of the NSData objects' data or 0? The documentation is exceptionally
sparse for this one. Examples would be great. thanks again.
Jason
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.