Package org.djutils.serialization
Class SerialDataDecoder
java.lang.Object
org.djutils.serialization.SerialDataDecoder
- All Implemented Interfaces:
 org.djutils.decoderdumper.Decoder
public class SerialDataDecoder extends Object implements org.djutils.decoderdumper.Decoder
Decoder for inspection of serialized data.
 
 Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version Jan 3, 2019 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Constructor Summary
Constructors Constructor Description SerialDataDecoder(EndianUtil endianUtil)Construct a new SerialDataDecoder. - 
Method Summary
Modifier and Type Method Description booleanappend(int address, byte theByte)intgetMaximumWidth()StringgetResult()booleanignoreForIdenticalOutputCheck() 
- 
Constructor Details
- 
SerialDataDecoder
Construct a new SerialDataDecoder.- Parameters:
 endianUtil- EndianUtil; the endian util to use to decode multi-byte values
 
 - 
 - 
Method Details
- 
getResult
- Specified by:
 getResultin interfaceorg.djutils.decoderdumper.Decoder
 - 
getMaximumWidth
public final int getMaximumWidth()- Specified by:
 getMaximumWidthin interfaceorg.djutils.decoderdumper.Decoder
 - 
append
- Specified by:
 appendin interfaceorg.djutils.decoderdumper.Decoder- Throws:
 IOException
 - 
ignoreForIdenticalOutputCheck
public final boolean ignoreForIdenticalOutputCheck()- Specified by:
 ignoreForIdenticalOutputCheckin interfaceorg.djutils.decoderdumper.Decoder
 
 -