public final class MutableByteArrayOutputStream
extends java.io.ByteArrayOutputStream
| 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) |
public int getBytesWritten()
public void write(byte[] b)
write in class java.io.OutputStreampublic void write(int b)
write in class java.io.ByteArrayOutputStreampublic void overwrite(byte[] b,
int startPos)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.