org.logi.crypto.test
Class BitBucket

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.logi.crypto.test.BitBucket

public class BitBucket
extends java.io.OutputStream

Anything written to instances of this class is counted and discarded.


Constructor Summary
BitBucket()
           
 
Method Summary
 void close()
           
 void flush()
           
 int getCount()
           
 void write(byte[] buf)
           
 void write(byte[] buf, int off, int len)
           
 void write(int x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitBucket

public BitBucket()
Method Detail

close

public void close()

flush

public void flush()

write

public void write(byte[] buf)

write

public void write(byte[] buf,
                  int off,
                  int len)

write

public void write(int x)

getCount

public int getCount()