public final class MutableByteArrayOutputStream extends ByteArrayOutputStream
buf, count| Constructor and Description |
|---|
MutableByteArrayOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBytesWritten()
Return how many bytes we've stuffed in so far
|
void |
overwrite(byte[] b,
int startPos)
Write some bytes to an earlier bit of the array
|
void |
write(byte[] b)
Write some bytes to the array
|
void |
write(int b) |
close, reset, size, toByteArray, toString, toString, toString, write, writeToflushpublic int getBytesWritten()
public void write(byte[] b)
write in class OutputStreampublic void write(int b)
write in class ByteArrayOutputStreampublic void overwrite(byte[] b,
int startPos)
Copyright © 2020. All rights reserved.