public final class CountOutputStream extends OutputStream
OutputStream that counts the written bytes.| Modifier and Type | Method and Description |
|---|---|
int |
getBytesWritten() |
void |
write(byte[] buf)
Counts the written bytes.
|
void |
write(byte[] buf,
int off,
int len)
Counts the written bytes.
|
void |
write(int b)
Counts the written bytes.
|
close, flushpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(byte[], int, int)public void write(byte[] buf)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(byte[])public void write(int b)
throws IOException
write in class OutputStreamIOExceptionOutputStream.write(int)public int getBytesWritten()
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.