public boolean bytesAvailable(){
  return byteStream.available() > 0;
}

public boolean bytesAvailable ( ) { return byteStream . available ( ) > 0 ; }
checks if there are any more bytes available on the stream .
