Package org.bouncycastle.crypto.tls
Class ByteQueueInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.bouncycastle.crypto.tls.ByteQueueInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class ByteQueueInputStream extends java.io.InputStream
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Constructor Summary
Constructors Constructor Description ByteQueueInputStream()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addBytes(byte[] buf)
Deprecated.void
addBytes(byte[] buf, int bufOff, int bufLen)
Deprecated.int
available()
Deprecated.void
close()
Deprecated.int
peek(byte[] buf)
Deprecated.int
read()
Deprecated.int
read(byte[] b)
Deprecated.int
read(byte[] b, int off, int len)
Deprecated.long
skip(long n)
Deprecated.
-
-
-
Method Detail
-
addBytes
public void addBytes(byte[] buf)
Deprecated.
-
addBytes
public void addBytes(byte[] buf, int bufOff, int bufLen)
Deprecated.
-
peek
public int peek(byte[] buf)
Deprecated.
-
read
public int read()
Deprecated.- Specified by:
read
in classjava.io.InputStream
-
read
public int read(byte[] b)
Deprecated.- Overrides:
read
in classjava.io.InputStream
-
read
public int read(byte[] b, int off, int len)
Deprecated.- Overrides:
read
in classjava.io.InputStream
-
skip
public long skip(long n)
Deprecated.- Overrides:
skip
in classjava.io.InputStream
-
available
public int available()
Deprecated.- Overrides:
available
in classjava.io.InputStream
-
close
public void close()
Deprecated.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.InputStream
-
-