|
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.BitEncoderChannel
public class BitEncoderChannel
TODO Description
Constructor Summary | |
---|---|
BitEncoderChannel(java.io.OutputStream ostream)
Construct an encoder from output stream. |
Method Summary | |
---|---|
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. |
void |
flush()
Flush underlying bit output stream. |
java.io.OutputStream |
getOutputStream()
|
Methods inherited from class com.siemens.ct.exi.io.channel.AbstractEncoderChannel |
---|
encodeBinary, encodeBinary, encodeBoolean, encodeDateTime, encodeDateTime, encodeDecimal, encodeDecimal, encodeFloat, encodeFloat, encodeInteger, encodeInteger, encodeInteger, encodeInteger, encodeString, encodeStringOnly, encodeUnsignedInteger, encodeUnsignedInteger, getNumberOfChannelValues, incrementValues |
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 |
---|
encodeBinary, encodeBinary, encodeBoolean, encodeDateTime, encodeDateTime, encodeDecimal, encodeDecimal, encodeFloat, encodeFloat, encodeInteger, encodeInteger, encodeInteger, encodeInteger, encodeString, encodeStringOnly, encodeUnsignedInteger, encodeUnsignedInteger, getNumberOfChannelValues, incrementValues |
Constructor Detail |
---|
public BitEncoderChannel(java.io.OutputStream ostream)
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 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 encodeNBitUnsignedInteger(int b, int n) throws java.io.IOException
encodeNBitUnsignedInteger
in interface EncoderChannel
java.io.IOException
public void encodeBoolean(boolean b) throws java.io.IOException
encodeBoolean
in interface EncoderChannel
java.io.IOException
|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |