Class BinaryMsgOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.tccc.kos.commons.util.ByteOrderOutputStream
com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgOutputStream
- All Implemented Interfaces:
ByteOrderOutput,Closeable,Flushable,AutoCloseable
Extends
ByteArrayOutputStream so that it can automatically build
the correct header for the message.- Since:
- 1.0
- Version:
- 2023-12-17
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryMsgOutputStream(ByteOrder byteOrder, int initialSize) Create a new output stream. -
Method Summary
Methods inherited from class com.tccc.kos.commons.util.ByteOrderOutputStream
flush, getInnerStream, setInnerStream, size, write, write, write, writeBoolean, writeByte, writeCString, writeCString, writeCString, writeDouble, writeFloat, writeInt, writeInt24, writeLong, writeShort, writeShortStringWithLen, writeShortStringWithLen, writeStringWithLenMethods inherited from class java.io.FilterOutputStream
close, writeMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tccc.kos.commons.util.ByteOrderOutput
write
-
Constructor Details
-
BinaryMsgOutputStream
Create a new output stream.
-