Lines Matching defs:is

5  * This code is free software; you can redistribute it and/or modify it
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
31 * A CipherInputStream is composed of an InputStream and a Cipher so
37 * <p> For example, if the Cipher is initialized for decryption, the
50 * <p> It is crucial for a programmer using this class not to use
52 * new method or constructor that is later added to one of the super
76 engine. the size 512 bytes is somewhat randomly chosen */
132 * <br>Note: if the specified input stream or cipher is
135 * @param is the to-be-processed input stream
138 public CipherInputStream(InputStream is, Cipher c) {
139 super(is);
140 input = is;
148 * <br>Note: if the specified input stream is null, a
149 * NullPointerException may be thrown later when it is used.
150 * @param is the to-be-processed input stream
152 protected CipherInputStream(InputStream is) {
153 super(is);
154 input = is;
160 * byte is returned as an <code>int</code> in the range
161 * <code>0</code> to <code>255</code>. If no byte is available
163 * <code>-1</code> is returned. This method blocks until input data
164 * is available, the end of the stream is detected, or an exception
165 * is thrown.
169 * stream is reached.
191 * @param b the buffer into which the data is read.
193 * <code>-1</code> is there is no more data because the end of
205 * into an array of bytes. This method blocks until some input is
206 * available. If the first argument is <code>null,</code> up to
209 * @param b the buffer into which the data is read.
214 * <code>-1</code> if there is no more data because the end of
244 * The actual number of bytes skipped is equal to <code>n</code> or
247 * whichever is smaller.
248 * If <code>n</code> is less than zero, no bytes are skipped.
250 * <p>The actual number of bytes skipped is returned.