public class SizeCalculationOutputStream extends OutputStream
| Constructor and Description |
|---|
SizeCalculationOutputStream()
Create new
SizeCalculationOutputStream with byte count of 0. |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Gets current byte count of the stream.
|
void |
reset()
Resets current byte count to 0.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flushpublic SizeCalculationOutputStream()
SizeCalculationOutputStream with byte count of 0.public int getLength()
public void reset()
public void write(byte[] b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void write(int b)
write in class OutputStreamCopyright © 2026. All rights reserved.