iaik.utils
Class InitBufferedInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--java.io.BufferedInputStream
                    |
                    +--iaik.utils.InitBufferedInputStream

public class InitBufferedInputStream
extends BufferedInputStream

An ordinary BufferedInputStream where the internal buffer can be initialized with an array.

Version:
File Revision 12

Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
InitBufferedInputStream(InputStream is, byte[] initArray)
          Creates a new buffered input stream to read data from the specified input stream.
InitBufferedInputStream(InputStream is, byte[] initArray, int size)
          Creates a new buffered input stream to read data from the specified input stream with the specified buffer size.
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitBufferedInputStream

public InitBufferedInputStream(InputStream is,
                               byte[] initArray)
Creates a new buffered input stream to read data from the specified input stream.
Parameters:
is - the underlying input stream
initArray - the initializiation data for the buffer

InitBufferedInputStream

public InitBufferedInputStream(InputStream is,
                               byte[] initArray,
                               int size)
Creates a new buffered input stream to read data from the specified input stream with the specified buffer size.
Parameters:
is - the underlying input stream
initArray - the initializiation data for the buffer
size - the buffer size

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK