• 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: Write File with NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write File with NSData


  • Subject: Re: Write File with NSData
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 12 Jun 2006 09:03:07 -0700


On Jun 12, 2006, at 7:59 AM, Aalok wrote:

Hi everyone!!

I want to write a file whose output should be

^C^@^@^@&^@^@^@{2081F9DF-481D-40A3-8203-7B37C5299A27} ^O^@^@^@ClientConnected^A^@^@^@1

The format is

4bytes = int in binary
4bytes = int in binary
GUID in string
4bytes = int in binary
string
4bytes = int in binary
string

I am using following function, but it doesnt work and I am totally
confused whats going behind.

Try looking up NSMutableData.... it will simplify your code a lot.

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Write File with NSData (From: Aalok <email@hidden>)

  • Prev by Date: NSFormCell unique entries
  • Next by Date: String to Integer conversion and vice versa
  • Previous by thread: Write File with NSData
  • Next by thread: Re: Write File with NSData
  • Index(es):
    • Date
    • Thread