• 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: Deleting data from NSMutableData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting data from NSMutableData


  • Subject: Re: Deleting data from NSMutableData
  • From: Jim Correia <email@hidden>
  • Date: Tue, 20 Mar 2007 23:51:54 -0400

On Mar 20, 2007, at 11:36 PM, R. Tyler Ballance wrote:

Howdy, I'm trying to figure out an effective means of removing X number of bytes from an NSMutableData. Basically, I iterate through an NSMutableData and systematically trim pieces out as they are handled.

There doesn't appear to be any simple means of doing so

Which of the "Modifying data" methods on NSMutableData did you consider and reject?


<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ Classes/NSMutableData_Class/Reference/NSMutableData.html>

Also see "Working With Mutable Binary Data":

<http://developer.apple.com/documentation/Cocoa/Conceptual/BinaryData/ Tasks/WorkingMutableData.html#//apple_ref/doc/uid/20002150>

Jim

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Deleting data from NSMutableData
      • From: "R. Tyler Ballance" <email@hidden>
References: 
 >Deleting data from NSMutableData (From: "R. Tyler Ballance" <email@hidden>)

  • Prev by Date: Deleting data from NSMutableData
  • Next by Date: Re: Embedding a WebView in a Table
  • Previous by thread: Deleting data from NSMutableData
  • Next by thread: Re: Deleting data from NSMutableData
  • Index(es):
    • Date
    • Thread