Package org.verapdf.pdfa.parsers.pkcs7
Class InputBuffer
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.verapdf.pdfa.parsers.pkcs7.InputBuffer
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Cloneable
-
Field Summary
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondup()
getBigInteger
(int length) byte[]
int
peek()
byte[]
void
truncate
(int length) Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTo
Methods inherited from class java.io.InputStream
nullInputStream, read, readNBytes, skipNBytes
-
Constructor Details
-
InputBuffer
public InputBuffer(byte[] buffer)
-
-
Method Details
-
dup
-
truncate
- Throws:
IOException
-
peek
- Throws:
IOException
-
getBigInteger
- Throws:
IOException
-
getBitString
- Throws:
IOException
-
toByteArray
public byte[] toByteArray()
-