• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSData question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSData question
      • From: Chris Kane <email@hidden>
  • Prev by Date: Re: C and objective C together
  • Next by Date: Re: C and objective C together
  • Previous by thread: Re: C and objective C together
  • Next by thread: Re: NSData question
  • Index(es):
    • Date
    • Thread