Method available()
Return type: int
Member of: java.io.ByteArrayInputStream
[api documentation ] [ main menu]

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

1 byte[] buf = new byte[bis.available()];
2 while (bais.available() > 0) {
3 byte[] buf = new byte[bis.available()];
4 while ( bis.available() > 0 ) {
5 while (bais.available() > 0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.