Method write(int b)
Return type: void
Member of: java.io.ByteArrayOutputStream
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 write (v ? 1 : 0);
2 stream.write(0);
3 write (0); // null terminator
4 os.write((byte) '\n');
5 bos.write( 0x01 );
6 listtable.write((byte) '\n');
7 baos.write(i);
8 buffer.write(b);
9 out.write(d[i]);
10 buffer.write(b);
11 baos.write(value);
12 while ( ( i = in.read ( ) ) > -1 ) out.write ( i );
13 baos.write(ch);
14 buffer.write(cc);
15 bos.write(buf);
16 out.write(c);
17 bos.write( buf );
18 bos.write(ch);
19 os.write(ch);
20 line.write(x);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.