Home | History | Annotate | Download | only in cms
      1 /**
      2  *
      3  */
      4 package org.bouncycastle.cms;
      5 
      6 import java.io.IOException;
      7 import java.io.OutputStream;
      8 
      9 class NullOutputStream
     10     extends OutputStream
     11 {
     12     public void write(byte[] buf)
     13         throws IOException
     14     {
     15         // do nothing
     16     }
     17 
     18     public void write(byte[] buf, int off, int len)
     19         throws IOException
     20     {
     21         // do nothing
     22     }
     23 
     24     public void write(int b) throws IOException
     25     {
     26         // do nothing
     27     }
     28 }