Lines Matching defs:in
18 * @param in input stream of interest
21 static int findLimit(InputStream in)
23 if (in instanceof LimitedInputStream)
25 return ((LimitedInputStream)in).getRemaining();
27 else if (in instanceof ASN1InputStream)
29 return ((ASN1InputStream)in).getLimit();
31 else if (in instanceof ByteArrayInputStream)
33 return ((ByteArrayInputStream)in).available();
35 else if (in instanceof FileInputStream)
39 FileChannel channel = ((FileInputStream)in).getChannel();