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 |
---|---|
Create a package which allows to add signals of various types | |
Add a Boolean vector to package | |
Add an Integer array to package | |
Add a Real vector to package | |
Cast all elements of Real vector to float and add to package (loss of precision!) | |
Add String to package | |
Get Boolean vector from package | |
Get Integer vector from package | |
Get Real vector from package | |
Get float vector from package (all values casted to double before assigning it to Modelica Real array) | |
Get String from package | |
Encode (non-negative) integer value at bit level | |
Unpack integer value encoded at bit level | |
Set current writing/reading position of package to zero |