this.in = in;
return in.available();
Read an opaque value from the stream.returnthe value read from the underlying stream.throwsIOException if the data could not be read from the underlying streamthrowsorg.apache.harmony.xnet.provider.jsse.EndOfSourceException if the end of the underlying stream has been reached. int res = in.read(); if (res < 0) { throw new EndOfSourceException(); } return res;
int res = in.read(); if (res < 0) { throw new EndOfSourceException(); } return res;