• 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 from object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSData from object


  • Subject: NSData from object
  • From: Hisaoki Nishida <email@hidden>
  • Date: Fri, 7 Mar 2003 03:21:55 -0500

Hi,

I'm trying to initialize an NSData from my object (a subclass of
NSView).
I just need to get information from my object, so I don't need to
create a copy of the object.
just a reference.

I see

dataWithBytesNoCopy:(void *)bytes length:(unsigned)length


in the docs,
but what do I pass in to the two parameters?

Thanks.

-yuki
_______________________________________________
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.

  • Prev by Date: Re: [code] Source code for a Time Control
  • Next by Date: Re: java-dev digest, Vol 3 #1137 - 13 msgs
  • Previous by thread: Re: Cocoa/Java - NSNotification not received.
  • Next by thread: Re: java-dev digest, Vol 3 #1137 - 13 msgs
  • Index(es):
    • Date
    • Thread