public class Asn1MderDecodeBuffer extends Asn1DecodeBuffer implements Asn1InputStream
mByteCount
context, mTypeCode
Constructor and Description |
---|
Asn1MderDecodeBuffer(byte[] msgdata)
Convenience method to create a decoder on an array of data.
|
Asn1MderDecodeBuffer(java.io.InputStream istream)
Create a decoder on the given input stream.
|
Modifier and Type | Method and Description |
---|---|
int |
available()
Returns the number of bytes that can be read (or skipped over) from
this input stream without blocking by the next caller of a method for
this input stream.
|
void |
close()
Closes this input stream and releases any system resources associated
with the stream.
|
boolean |
markSupported()
Tests if this input stream supports the
mark and
reset methods. |
int |
readByte()
This abstract method returns the next available 8-bit value
from the input stream.
|
addCaptureBuffer, capture, decodeIntValue, decodeOIDContents, decodeOIDContentsBig, decodeRelOIDContents, decodeRelOIDContentsBig, getByteCount, getInputStream, getLazyOpenTypeDecode, hexDump, init, mark, read, read, read, read2Bytes, read4Bytes, removeCaptureBuffer, reset, setInputStream, setLazyOpenTypeDecode, skip, skipOIDContents, skipRelOIDContents
addNamedEventHandler, getEventHandlerListCount, hasEventHandlers, invokeCharacters, invokeEndElement, invokeStartElement, setEventHandlerList
getContext, hexDump, hexDump, setKey, setTypeCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mark, reset, skip
public Asn1MderDecodeBuffer(byte[] msgdata)
msgdata
- public Asn1MderDecodeBuffer(java.io.InputStream istream)
istream
- public int readByte() throws Asn1Exception, java.io.IOException
Asn1DecodeBuffer
readByte
in class Asn1DecodeBuffer
Asn1Exception
java.io.IOException
public int available() throws java.io.IOException
Asn1InputStream
available
in interface Asn1InputStream
java.io.IOException
- if an I/O error occurs.public void close() throws java.io.IOException
Asn1InputStream
close
in interface Asn1InputStream
java.io.IOException
- if an I/O error occurs.public boolean markSupported()
Asn1InputStream
mark
and
reset
methods. The markSupported
method of
InputStream
returns false
.markSupported
in interface Asn1InputStream
true
if this true type supports the mark and reset
method; false
otherwise.