public class SerialDataDecoder extends Object implements org.djutils.decoderdumper.Decoder
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
SerialDataDecoder(EndianUtil endianUtil)
Construct a new SerialDataDecoder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
append(int address,
byte theByte) |
int |
getMaximumWidth() |
String |
getResult() |
boolean |
ignoreForIdenticalOutputCheck() |
SerialDataDecoder(EndianUtil endianUtil)
endianUtil
- EndianUtil; the endian util to use to decode multi-byte valuespublic final String getResult()
getResult
in interface org.djutils.decoderdumper.Decoder
public final int getMaximumWidth()
getMaximumWidth
in interface org.djutils.decoderdumper.Decoder
public final boolean append(int address, byte theByte) throws IOException
append
in interface org.djutils.decoderdumper.Decoder
IOException
public final boolean ignoreForIdenticalOutputCheck()
ignoreForIdenticalOutputCheck
in interface org.djutils.decoderdumper.Decoder
Copyright © 2018–2019 Delft University of Technology. All rights reserved.