Welcome to mirror list, hosted at ThFree Co, Russian Federation.

NullOutputStream.java « cms « spongycastle « org « java « main « src « pkix - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5ccd4ec5c1d88007f92b3e52eb373d4fa6e0cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * 
 */
package org.spongycastle.cms;

import java.io.IOException;
import java.io.OutputStream;

class NullOutputStream
    extends OutputStream
{
    public void write(byte[] buf)
        throws IOException
    {
        // do nothing
    }

    public void write(byte[] buf, int off, int len)
        throws IOException
    {
        // do nothing
    }
    
    public void write(int b) throws IOException
    {
        // do nothing
    }
}