[haiku-development] Re: Help reading text file.

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 3 Aug 2008 18:56:58 +0200

2008/8/3 François Revol <revol@xxxxxxx>:

> You might want to have a look at
> 3rdparty/mmu_man/themes/ParseMessage.cpp
> class TextLineInputDataIO
>
> It's slow (reads 1 byte each time) but should be enough for small
> files.

Just use BBufferIO as adapter in case it's too slow.

Other related posts: