|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.siemens.ct.exi.io.channel.AbstractEncoderChannel
com.siemens.ct.exi.io.channel.ByteEncoderChannel
public final class ByteEncoderChannel
TODO Description
Constructor Summary | |
---|---|
ByteEncoderChannel(java.io.OutputStream os)
Construct a byte aligned encoder from output stream. |
Method Summary | |
---|---|
void |
align()
Align to next byte-aligned boundary in the stream if it is not already at such a boundary |
void |
encode(byte[] b,
int off,
int len)
|
void |
encode(int b)
|
void |
encodeBoolean(boolean b)
Encode a single boolean value. |
void |
encodeNBitUnsignedInteger(int b,
int n)
Encode n-bit unsigned integer using the minimum number of bytes required to store n bits. |
void |
flush()
|
java.io.OutputStream |
getOutputStream()
|
Methods inherited from class com.siemens.ct.exi.io.channel.AbstractEncoderChannel |
---|
encodeBigInteger, encodeBinary, encodeBoolean, encodeDateTime, encodeDateTime, encodeDecimal, encodeDecimal, encodeDouble, encodeDouble, encodeFloat, encodeFloat, encodeInteger, encodeLong, encodeString, encodeStringOnly, encodeUnsignedBigInteger, encodeUnsignedInteger, encodeUnsignedLong |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.siemens.ct.exi.io.channel.EncoderChannel |
---|
encodeBigInteger, encodeBinary, encodeBoolean, encodeDateTime, encodeDateTime, encodeDecimal, encodeDecimal, encodeDouble, encodeDouble, encodeFloat, encodeFloat, encodeInteger, encodeLong, encodeString, encodeStringOnly, encodeUnsignedBigInteger, encodeUnsignedInteger, encodeUnsignedLong |
Constructor Detail |
---|
public ByteEncoderChannel(java.io.OutputStream os)
Method Detail |
---|
public java.io.OutputStream getOutputStream()
getOutputStream
in interface EncoderChannel
public void flush() throws java.io.IOException
flush
in interface EncoderChannel
java.io.IOException
public void align() throws java.io.IOException
EncoderChannel
align
in interface EncoderChannel
java.io.IOException
public void encode(int b) throws java.io.IOException
encode
in interface EncoderChannel
java.io.IOException
public void encode(byte[] b, int off, int len) throws java.io.IOException
encode
in interface EncoderChannel
java.io.IOException
public void encodeBoolean(boolean b) throws java.io.IOException, java.lang.IllegalArgumentException
encodeBoolean
in interface EncoderChannel
java.io.IOException
java.lang.IllegalArgumentException
public void encodeNBitUnsignedInteger(int b, int n) throws java.io.IOException
encodeNBitUnsignedInteger
in interface EncoderChannel
java.io.IOException
|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |