-
Notifications
You must be signed in to change notification settings - Fork 18
Unpack hex string () to (), to (), ...
Jaume Olivé Petrus edited this page Oct 28, 2017
·
10 revisions
This block decodes a hexadecimal string (encoded by the "Pack hex string with (), with(), ..." block), to a serie of specified values.
A hexadecimal string is a representation of a serie of bytes in text format, in which every byte is converted to it's hexadecimal representation in text. For example, the integer value 127 are represented by the "7F" string.
The encoded string contain the information about the data type of each packed value and it's value.
In this example the values 10.2 and 25.3 are packed and then unpacked.
Run this example in The Whitecat IDE.