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, writeTo
flush
public int getBytesWritten()
public void write(byte[] b)
write
in class OutputStream
public void write(int b)
write
in class ByteArrayOutputStream
public void overwrite(byte[] b, int startPos)
Copyright © 2020. All rights reserved.