public final class ByteCountingOutputStream extends OutputStream
Constructor and Description |
---|
ByteCountingOutputStream() |
Modifier and Type | Method and Description |
---|---|
long |
size() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
public void write(int b) throws IOException
write
in class OutputStream
IOException
OutputStream.write(int)
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
OutputStream.write(byte[], int, int)
public long size()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.