public class UartSettingsStopBitConverter
extends java.lang.Object
| Constructor and Description |
|---|
UartSettingsStopBitConverter() |
| Modifier and Type | Method and Description |
|---|---|
UartSettings.StopBitEnum |
decode(byte[] data) |
byte[] |
encode(UartSettings.StopBitEnum model) |
static UartSettingsStopBitConverter |
instance() |
public byte[] encode(UartSettings.StopBitEnum model) throws java.lang.Exception
java.lang.Exceptionpublic UartSettings.StopBitEnum decode(byte[] data) throws java.lang.Exception
java.lang.Exceptionpublic static UartSettingsStopBitConverter instance()