Bytes Pack Block

Bytes Pack Block

The Bytes Pack block joins scalar data into a packed struct that gets serialized to bytes

Inputs

  • x (dynamic): scalar values that will be packed into the output data

Outputs

  • bytes: packed byte data

Parameters

  • Pack Bytes: Configure how input data will be packed
    • Label: The name of the input port corresponding to this value
    • Type: The data type and size this value will be encoded as
      • The letter indicates the type of data: u = unsigned integer, i = signed integer, f = float
      • The numbers indicate the number of bits used to encode the value
      • For instance, specifying i64 will encode the value as a 64-bit signed integer
    • Order: The endianness used to encode the value