Re: searching a string in big file
Re: searching a string in big file
- Subject: Re: searching a string in big file
- From: Angelo Chen <email@hidden>
- Date: Sat, 13 Jun 2009 00:27:01 -0700 (PDT)
Hi Stephen,
Thanks for the quick reply, it is a binary file, coming from Quicktime's mov, I need to search backward for a string 'free', then change it to 'moov', so search should start from the end of file, any ideas? Thanks,
Angelo
--- 2009年6月13日 星期六,Stephen J. Butler <email@hidden> 寫道﹕
寄件人: Stephen J. Butler <email@hidden>
主題: Re: searching a string in big file
收件人:
副本(CC): email@hidden
日期: 2009年6月13日,星期六,下午2:04
2009/6/13 Angelo Chen <email@hidden>:
> I need to open a big file and search for a certain string, if found, I need tup do some updates and write back the file, any idea what approach I should take? Thanks,
32 or 64 bit? What is the encoding (ASCII, UTF-8, UTF-16, etc)? Are
the updates in place (that is, overwriting existing characters) or is
it more of an inserting new characters operation?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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
Yahoo! 推出全新@ymail.com 電郵地址,想登記你的新身份? 請前往 http://hk.promo.yahoo.com/mail/ymail/ 了解更多相關資訊!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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