1/** 2 * 3 */ 4package org.bouncycastle.cms; 5 6import java.io.IOException; 7import java.io.OutputStream; 8 9class 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}