public final class NullOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
static OutputStream |
INSTANCE
singleton reference
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b)
empty method
|
void |
write(byte[] b,
int off,
int len)
empty method
|
void |
write(int b)
empty method
|
close, flushpublic static final OutputStream INSTANCE
public void write(int b)
write in class OutputStreamb - bytepublic void write(byte[] b)
write in class OutputStreamb - bytepublic void write(byte[] b,
int off,
int len)
write in class OutputStreamb - byteoff - offcetlen - lengthCopyright © 2021 vpc open source initiative. All rights reserved.