Uint8Seq

sequence-functions Uint8Seq

syntax

  • uint8Seq(a)

definition

uint8Seq(a) results in a sequence of 8 bits unsigned integers derived from string data-item a.

The syntax for string argument a need to be: {10: 41 9999 42 10 600 1 7 116 0 110}.

In this string:

  • The curly brackets {..} indicate the start and end of the sequence.
  • The first number (10) indicates the number of elements of the sequence followed by a colon. The elements of the sequence follow this colon, separated by spaces.

The composition type need to be configured to poly. The sequence2points function can be used to make a pointset domain.

applies to

since version

7.130

example

parameter<string> param              := '{10: 41 9999 42 10 600 1 7 116 0 110}';
parameter<uint8>  param_uint8 (poly) := uint8Seq(source/param);
param_uint8
{10: 41 null 42 10 null 1 7 116 0 110}