public class CountingOutputStream
extends java.io.FilterOutputStream
Constructor and Description |
---|
CountingOutputStream(java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
long |
getBytesWritten()
Returns the current number of bytes written to this stream.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public long getBytesWritten()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"