Lines Matching defs:input

38  * @see org.apache.commons.io.input.SwappedDataInputStream

294 * @param input source InputStream
298 public static short readSwappedShort(InputStream input)
301 return (short)( ( ( read( input ) & 0xff ) << 0 ) +
302 ( ( read( input ) & 0xff ) << 8 ) );
308 * @param input source InputStream
312 public static int readSwappedUnsignedShort(InputStream input)
315 int value1 = read( input );
316 int value2 = read( input );
341 * @param input source InputStream
345 public static int readSwappedInteger(InputStream input)
348 int value1 = read( input );
349 int value2 = read( input );
350 int value3 = read( input );
351 int value4 = read( input );
362 * @param input source InputStream
366 public static long readSwappedUnsignedInteger(InputStream input)
369 int value1 = read( input );
370 int value2 = read( input );
371 int value3 = read( input );
372 int value4 = read( input );
406 * @param input source InputStream
410 public static long readSwappedLong(InputStream input)
415 bytes[i] = (byte) read( input );
436 * @param input source InputStream
440 public static float readSwappedFloat(InputStream input)
443 return Float.intBitsToFloat( readSwappedInteger( input ) );
462 * @param input source InputStream
466 public static double readSwappedDouble(InputStream input)
469 return Double.longBitsToDouble( readSwappedLong( input ) );
473 * Reads the next byte from the input stream.
474 * @param input the stream
478 private static int read(InputStream input)
481 int value = input.read();