[haiku-development] Re: Donating codes: APE reader

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 5 Jun 2008 10:06:36 +0200

2008/6/5 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:

> Great, thanks!
> It's never a good idea to read single bytes if you don't know wether or
> not the byte stream is buffered or not (BFile is not, for example, but
> maybe it is in Zeta).

One can use a BBufferIO in that case, though.
And maybe BBufferIO should be smart and not buffer in case it's
attached to a BMemoryIO.

Other related posts: