Re: Read last x bytes of a text file?

2009-08-17 Thread Adam R. Maxwell
On Aug 17, 2009, at 7:57 PM, Alex Kac wrote: I'm sure there is a great way to do this, but I seem to not find it. I have a potentially large text file that I wish to only show the last 32k worth - it could be 200MB. So I was looking at NSInputStream, but perhaps I'm being dense or its the

Read last x bytes of a text file?

2009-08-17 Thread Alex Kac
I'm sure there is a great way to do this, but I seem to not find it. I have a potentially large text file that I wish to only show the last 32k worth - it could be 200MB. So I was looking at NSInputStream, but perhaps I'm being dense or its the wrong tool for the job, but I cannot find a wa