|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1MessageBufferBase
public class Asn1MessageBufferBase
Base class for encode and decode message buffers/streams.
Field Summary | |
---|---|
protected Asn1Context |
context
|
protected short |
mTypeCode
|
Constructor Summary | |
---|---|
Asn1MessageBufferBase()
|
Method Summary | |
---|---|
Asn1Context |
getContext()
Return the context object associated with this buffer. |
static void |
hexDump(java.io.InputStream in)
This method prints a formatted hex dump of the contents of the the given input stream to the standard output stream. |
static void |
hexDump(java.io.InputStream in,
java.io.PrintStream out)
This method prints a formatted hex dump of the contents of the the given input stream to the given output stream. |
void |
setKey(byte[] rtkey)
This method is used with the limited run-time to set a run-time key value generated by the compiler to allow the run-time to operate on the licensed hosts. |
void |
setTypeCode(short code)
This method will sets the internal type code to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected short mTypeCode
protected Asn1Context context
Constructor Detail |
---|
public Asn1MessageBufferBase()
Method Detail |
---|
public Asn1Context getContext()
public void setKey(byte[] rtkey)
rtkey
- - Run-time key generated by ASN1Cpublic final void setTypeCode(short code)
code
- Type code (codes are defined in Asn1Type.java). The
codes correspond to the UNIVERSAL tag ID values for the built-in types.public static void hexDump(java.io.InputStream in, java.io.PrintStream out)
in
- InputStream containing data to be dumpedout
- PrintStream to which formatted data is to be writtenpublic static void hexDump(java.io.InputStream in)
in
- InputStream containg data to be dumped
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |