Package org.bidib.jbidibc.serial
Class SerialMessageEncoder
- java.lang.Object
-
- org.bidib.jbidibc.serial.SerialMessageEncoder
-
public class SerialMessageEncoder extends Object
-
-
Constructor Summary
Constructors Constructor Description SerialMessageEncoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidencodeMessage(byte[] message, OutputStream output)static voidencodeMessage(ByteArrayOutputStream data, OutputStream output)
-
-
-
Method Detail
-
encodeMessage
public static void encodeMessage(ByteArrayOutputStream data, OutputStream output) throws IOException
- Throws:
IOException
-
encodeMessage
public static void encodeMessage(byte[] message, OutputStream output) throws IOException- Throws:
IOException
-
-