| Name | Type | Section | Description |
|---|---|---|---|
offset |
T | Input | Offset in buffer to start writing the serialized data. |
value |
T2 | Input | The value to serialize. |
buffer |
ARRAY[*] OF BYTE |
In_Out | Buffer into which to serialize. |
endianness |
System.Serialization.Endianness |
Input | The endianness for the serialization of multi-byte data (default: little-endian). |
| T | Return value | Returns offset of the next value to be written into buffer. |
The type T may be either UDINT or INT.
The type T2 may be any elementary ST data type.
See also: SerializeLittle and SerializeBig.