Class DataItem
java.lang.Object
org.apache.plc4x.java.s7.readwrite.DataItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetLengthInBits(PlcValue _value, String dataProtocolId, Integer stringLength) static intgetLengthInBytes(PlcValue _value, String dataProtocolId, Integer stringLength) static PlcValuestaticParse(ReadBuffer readBuffer, String dataProtocolId, Integer stringLength) static voidstaticSerialize(WriteBuffer writeBuffer, PlcValue _value, String dataProtocolId, Integer stringLength) static voidstaticSerialize(WriteBuffer writeBuffer, PlcValue _value, String dataProtocolId, Integer stringLength, ByteOrder byteOrder)
-
Constructor Details
-
DataItem
public DataItem()
-
-
Method Details
-
staticParse
public static PlcValue staticParse(ReadBuffer readBuffer, String dataProtocolId, Integer stringLength) throws ParseException - Throws:
ParseException
-
staticSerialize
public static void staticSerialize(WriteBuffer writeBuffer, PlcValue _value, String dataProtocolId, Integer stringLength) throws SerializationException - Throws:
SerializationException
-
staticSerialize
public static void staticSerialize(WriteBuffer writeBuffer, PlcValue _value, String dataProtocolId, Integer stringLength, ByteOrder byteOrder) throws SerializationException - Throws:
SerializationException
-
getLengthInBytes
-
getLengthInBits
-