public class ReusableByteArrayOutputStream extends OutputStream
| Constructor and Description |
|---|
ReusableByteArrayOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteArray() |
void |
reset() |
void |
setPosition(int pos) |
int |
usedSize() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic int usedSize()
public byte[] getByteArray()
public void reset()
public void setPosition(int pos)
Copyright © 2019 OpenSource BIM. All rights reserved.