Bouncy Castle Cryptography Library 1.40

org.bouncycastle.util.io
Class Streams

java.lang.Object
  extended by org.bouncycastle.util.io.Streams

public final class Streams
extends java.lang.Object


Constructor Summary
Streams()
           
 
Method Summary
static void pipeAll(java.io.InputStream inStr, java.io.OutputStream outStr)
           
static byte[] readAll(java.io.InputStream inStr)
           
static int readFully(java.io.InputStream inStr, byte[] buf)
           
static int readFully(java.io.InputStream inStr, byte[] buf, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Streams

public Streams()
Method Detail

readAll

public static byte[] readAll(java.io.InputStream inStr)
                      throws java.io.IOException
Throws:
java.io.IOException

readFully

public static int readFully(java.io.InputStream inStr,
                            byte[] buf)
                     throws java.io.IOException
Throws:
java.io.IOException

readFully

public static int readFully(java.io.InputStream inStr,
                            byte[] buf,
                            int off,
                            int len)
                     throws java.io.IOException
Throws:
java.io.IOException

pipeAll

public static void pipeAll(java.io.InputStream inStr,
                           java.io.OutputStream outStr)
                    throws java.io.IOException
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.40