com.objsys.asn1j.runtime
Interface Asn1PerMessageBuffer

All Known Implementing Classes:
Asn1PerDecodeBuffer, Asn1PerEncodeBuffer, Asn1PerInputStream

public interface Asn1PerMessageBuffer

This interface defines constants and methods specific to encoding and decoding PER messages. All of the PER message buffer classes implement this interface.


Method Summary
 void byteAlign()
          This method handles byte-alignment for aligned PER encoding or decoding.
 java.io.InputStream getInputStream()
          This method returns an input stream object that represents the message being encoded or decoded.
 int getMsgBitCnt()
          This method returns the count of bits in the encoded message.
 Asn1PerTraceHandler getTraceHandler()
          This method returns the internal trace handler object used to trace all of the bit fields with a PER message.
 boolean isAligned()
          This method returns a flag indicating if PER aligned encoding is currently enabled (if false, unaligned is in effect).
 

Method Detail

byteAlign

void byteAlign()
This method handles byte-alignment for aligned PER encoding or decoding.


getInputStream

java.io.InputStream getInputStream()
This method returns an input stream object that represents the message being encoded or decoded.


getMsgBitCnt

int getMsgBitCnt()
This method returns the count of bits in the encoded message.


getTraceHandler

Asn1PerTraceHandler getTraceHandler()
This method returns the internal trace handler object used to trace all of the bit fields with a PER message.


isAligned

boolean isAligned()
This method returns a flag indicating if PER aligned encoding is currently enabled (if false, unaligned is in effect).