01: package java.io;
02:
03: public class ByteArrayOutputStream extends OutputStream {
04: public ByteArrayOutputStream() {
05: }
06:
07: public ByteArrayOutputStream(int size) {
08: }
09:
10: public synchronized void reset() {
11: }
12:
13: public int size() {
14: }
15:
16: public synchronized byte[] toByteArray() {
17: }
18:
19: public String toString() {
20: }
21:
22: public String toString(String enc)
23: throws UnsupportedEncodingException {
24: }
25:
26: public String toString(int hibyte) {
27: }
28:
29: private void resize(int add) {
30: }
31:
32: public synchronized void write(int oneByte) {
33: }
34:
35: public synchronized void write(byte[] buffer, int offset, int add) {
36: }
37:
38: public synchronized void writeTo(OutputStream out)
39: throws IOException {
40: }
41:
42: protected byte[] buf;
43: protected int count;
44:
45: static {
46: }
47: }
|