Klasse java.io.ByteArrayOutputStream | 1.0 |
java.lang.Object | +--java.io.OutputStream | +--java.io.ByteArrayOutputStream
Datenelemente | |
---|---|
protected byte[] | buf |
protected int | count |
Konstruktoren | |
---|---|
public | ByteArrayOutputStream() |
public | ByteArrayOutputStream(int size) |
Methoden | |
---|---|
public void | close() |
public synchronized void | reset() |
public int | size() |
public synchronized byte[] | toByteArray() |
public String | toString() |
public String | toString(String enc) |
public String | toString(int hibyte)
Verworfen in Version 1.2. |
public synchronized void | write(int b) |
public synchronized void | write(byte[] b, int off, int len) |
public synchronized void | writeTo(OutputStream out) |