Ticket #161 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 months ago

InputStream should provide a eof() method

Reported by: mikey Assigned to: prema
Priority: major Milestone: 0.9.0
Component: Streams Version: SVN-trunk
Keywords: Cc: prema

Description

While the bytesLeft() method of net::stubbles::streams::stubInputStream works well for normal files, it fails for compressed files as it is not possible to detect the length of the uncompressed file content. To solve this a method eof() should be introduced, which gives a better decision base if the file was processed completely or not.

Change History

07/31/08 16:50:49 changed by prema

  • owner changed from mikey to prema.

07/31/08 17:15:07 changed by mikey

  • component changed from core to Streams.
  • milestone set to 0.9.0.

07/31/08 17:28:25 changed by prema

  • status changed from new to closed.
  • resolution set to fixed.