The concept of the SerialPackager is to allow adding/retrieving data to/from a package in a device independent manner. See Getting started.
Name | Description |
---|---|
Internal | |
Packager | Create a package which allows to add signals of various types |
AddBoolean | Add a Boolean vector to package |
AddInteger | Add an Integer vector to package |
AddReal | Add a Real vector to package |
AddFloat | Cast all elements of Real vector to float and add to package (loss of precision!) |
AddString | Add string to package |
GetBoolean | Get Boolean vector from package |
GetInteger | Get Integer vector from package |
GetReal | Get Real vector from package |
GetFloat | Get float vector from package (all values casted to double before assigning it to Modelica Real array) |
GetString | Get String from package |
PackUnsignedInteger | Encode (non-negative) integer value at bit level |
UnpackUnsignedInteger | decode integer value encoded at bit level |
ResetPointer | Set current writing/reading position of package to zero |