tango.io.device.BitBucket

A Conduit that ignores all that is written to it

Members

Classes

BitBucket
class BitBucket

A Conduit that ignores all that is written to it and returns Eof when read from. Note that write() returns the length of what was handed to it, acting as a pure bit-bucket. Returning zero or Eof instead would not be appropriate in this context.

Meta

License

BSD style: $(LICENSE)

Version

Initial release: July 2008

Authors

Fawzi Mohamed