Package com.yubico.internal.util
Class ByteInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
com.yubico.internal.util.ByteInputStream
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
Provides an easy way to read a byte array in chunks.
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesMethods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ByteInputStream
public ByteInputStream(byte[] data)
-
-
Method Details
-
read
- Throws:
IOException
-
readAll
- Throws:
IOException
-
readInteger
- Throws:
IOException
-
readSigned
- Throws:
IOException
-
readUnsigned
- Throws:
IOException
-