• 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
Re: zeroing out unused bytes from NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zeroing out unused bytes from NSData


  • Subject: Re: zeroing out unused bytes from NSData
  • From: Daryn <email@hidden>
  • Date: Fri, 16 May 2003 23:46:31 -0500

If you can use NSMutableData, try resetBytesInRange:.

On Wednesday, April 16, 2003, at 12:26 PM, Salanki Benjamin wrote:

Hello.

I have an NSData structure that has unused bytes at the end. How can I zero out the unused bytes at the end so that my NSDatat will have only used bytes in it?

thx

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


Daryn
_______________________________________________
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: OT: WWDC
  • Next by Date: Re: Transparent background, "floating" view
  • Previous by thread: Re: Multithreading Dilemma
  • Next by thread: WebCore question
  • Index(es):
    • Date
    • Thread