Promotic

HexaString - text format of binary data

HexaString is an encoding system that converts binary data to a text string, that contains only the characters 0-9, A-F.
Each byte of binary data is converted to a single two-digit hexadecimal number.
 
- The length of the resulting text string is always increased by 50%.
- The HexaString encoding is longer than the Base64 encoding, which usually only increases the length by 33%.


The usage in the PROMOTIC system:
- The PmBuffer.GetBase64String method serves for creating a text string from binary data.
- The PmBuffer.SetBase64String method serves for creating binary data from a text string.
PROMOTIC 9.0.22 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.