Method available()
Return type: int
Member of:
java.io.BufferedInputStream
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
while ((available = copyIn.available()) > 0) {
2
while (_active && 0 == inputStream.available()) {
3
int size = br.available();
4
while (in.available()!=0)
5
while (in.read(buffer, 0, in.available()) > 0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.