8.83. File tom/holes

class tom.Sink

Sink implements an OutputStream that is a black hole. It consumes all data that is written to it, and has no value for printing.

inherits

State supers: State, OutputStream

instance tom.Sink

methods


void
  close;

Undocumented.


void
  write byte b;

Undocumented.


int
  write byte b;

Undocumented.


int
  writeRange (int, int) (start, length)
        from ByteArray buffer;

Undocumented.


id
  print boolean b;

Undocumented.


id
  print byte b;

Undocumented.


id
  print char c;

Undocumented.


id
  print int i;

Undocumented.


id
  print long l;

Undocumented.


id
  print float f;

Undocumented.


id
  print double d;

Undocumented.


id
  print pointer addr;

Undocumented.


id
  print dynamic x;

Undocumented.