ocean.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

Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.

Version

Initial release: July 2008

Authors

Fawzi Mohamed